Skip to content

Commit ded8403

Browse files
Update Release.yml to install required packages (#94)
* Update Release.yml to install required packages Added installation of additional packages for build. Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov> * add sudo for permission issue Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov> * fix: add support for amd64 architecture versioning in archive naming Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov> * fix: correct versioning format for amd64 architecture in archive naming Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov> --------- Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
1 parent d25ac41 commit ded8403

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/Release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ jobs:
1515
cgo-enabled: "1"
1616
pre-build-commands: |
1717
go install github.com/swaggo/swag/cmd/swag@latest
18+
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
1819
attestation-binary-path: "dist/cloud-init*"
1920
registry-name: ghcr.io/openchami/cloud-init

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ archives:
108108
{{- else if eq .Arch "386" }}i386
109109
{{- else }}{{ .Arch }}{{ end }}
110110
{{- if .Arm }}v{{ .Arm }}{{ end }}
111+
{{- if .Amd64 }}{{ .Amd64 }}{{ end }}
111112
files:
112113
- LICENSE
113114
- CHANGELOG.md

0 commit comments

Comments
 (0)