Skip to content

Commit 84f3488

Browse files
fix: enable CGO support in Release workflow
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
1 parent 6920e26 commit 84f3488

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/Release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66
tags:
77
- v*
88

9+
permissions: write-all # Necessary for the generate-build-provenance action with containers
10+
911
jobs:
1012
release:
1113
uses: OpenCHAMI/github-actions/workflows/go-build-release.yml@v2
1214
with:
13-
cgo-enabled: "0"
15+
cgo-enabled: "1"
1416
pre-build-commands: |
1517
go install github.com/swaggo/swag/cmd/swag@latest
1618
attestation-binary-path: "dist/cloud-init*"

0 commit comments

Comments
 (0)