Add workaround for slsa breakage

This commit is contained in:
David Dworken 2022-10-01 15:14:51 -07:00
parent a2ff28ca89
commit e594375e08

View File

@ -33,6 +33,7 @@ jobs:
config-file: .slsa-goreleaser-linux-amd64.yml
go-version: 1.18
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
compile-builder: true # See github.com/slsa-framework/slsa-github-generator/issues/942
build-darwin-amd64:
permissions:
id-token: write
@ -44,6 +45,7 @@ jobs:
config-file: .slsa-goreleaser-darwin-amd64.yml
go-version: 1.18
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
compile-builder: true # See github.com/slsa-framework/slsa-github-generator/issues/942
build-darwin-arm64:
permissions:
id-token: write
@ -55,6 +57,7 @@ jobs:
config-file: .slsa-goreleaser-darwin-arm64.yml
go-version: 1.18
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
compile-builder: true # See github.com/slsa-framework/slsa-github-generator/issues/942
# Sign the binaries and upload the signed binaries
macos_signer: