From 5f6428412fefc2b38b69ab193feb277634e5c6a8 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Thu, 2 Oct 2025 15:47:40 -0400 Subject: [PATCH 1/4] Update Release.yml to install required packages Added installation of additional packages for build. Signed-off-by: Alex Lovell-Troy --- .github/workflows/Release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 2752d3da..eae9bf52 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -15,5 +15,6 @@ jobs: cgo-enabled: "1" pre-build-commands: | go install github.com/swaggo/swag/cmd/swag@latest + apt update && 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 From 41a8b88fe12ee9d1c84d4d5d833f31db214fa93d Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Thu, 2 Oct 2025 15:52:47 -0400 Subject: [PATCH 2/4] add sudo for permission issue Signed-off-by: Alex Lovell-Troy --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index eae9bf52..2791b19e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -15,6 +15,6 @@ jobs: cgo-enabled: "1" pre-build-commands: | go install github.com/swaggo/swag/cmd/swag@latest - apt update && 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 + 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 From 0dc467b47f5b62bd1a596ca80a83b1b7aceff3c6 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Thu, 2 Oct 2025 16:01:19 -0400 Subject: [PATCH 3/4] fix: add support for amd64 architecture versioning in archive naming Signed-off-by: Alex Lovell-Troy --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d6398823..75c79b05 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -108,6 +108,7 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} + {{- if .Amd64 }}v{{ .Amd64 }}{{ end }} files: - LICENSE - CHANGELOG.md From 77a623dc68c40601889ed980c95a482ce6f3b658 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Thu, 2 Oct 2025 16:12:07 -0400 Subject: [PATCH 4/4] fix: correct versioning format for amd64 architecture in archive naming Signed-off-by: Alex Lovell-Troy --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 75c79b05..4dc0f7ad 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -108,7 +108,7 @@ archives: {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} - {{- if .Amd64 }}v{{ .Amd64 }}{{ end }} + {{- if .Amd64 }}{{ .Amd64 }}{{ end }} files: - LICENSE - CHANGELOG.md