Release with goreleaser #30
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release with goreleaser | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - v* | |
| permissions: write-all # Necessary for the generate-build-provenance action with containers | |
| jobs: | |
| release: | |
| uses: OpenCHAMI/github-actions/.github/workflows/go-build-release.yml@v3.2 | |
| with: | |
| cgo-enabled: "1" | |
| pre-build-commands: | | |
| go install github.com/swaggo/swag/cmd/swag@latest | |
| sudo apt update && sudo apt install -y git gcc g++ make ca-certificates curl gnupg gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libc6-dev-arm64-cross software-properties-common clang-tools libstdc++-13-dev-arm64-cross | |
| attestation-binary-path: "dist/cloud-init*" | |
| registry-name: ghcr.io/openchami/cloud-init |