Skip to content

Commit

Permalink
Build for all platforms & architectures that we support
Browse files Browse the repository at this point in the history
  • Loading branch information
justinabrahms committed Jan 11, 2023
1 parent c69fd97 commit 6223829
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,18 @@ jobs:
contents: write # To upload assets to release.
actions: read # To read the workflow path.
needs: args
strategy:
matrix:
os:
- linux
- windows
- darwin
arch:
- amd64
- arm64
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.2.2
with:
go-version: 1.17
# Optional: only needed if using ldflags.
evaluated-envs: "COMMIT_DATE:${{needs.args.outputs.commit-date}}, COMMIT:${{needs.args.outputs.commit}}, VERSION:${{needs.args.outputs.version}}, TREE_STATE:${{needs.args.outputs.tree-state}}"
config-file: .slsa-goreleaser/${{matrix.os}}-${{matrix.arch}}.yml

0 comments on commit 6223829

Please sign in to comment.