From 8bbff53a18cf806fd824b3fb74b264d921a436b3 Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Mon, 4 Nov 2024 14:37:49 -0800 Subject: [PATCH] fix: pinning goreleaser version to fix builds (#15108) * fix: pinning goreleaser version to fix builds * fix: pin goreleser version in all locations --- .github/workflows/build-publish-develop-pr.yml | 4 ++++ .github/workflows/build-publish-goreleaser.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-publish-develop-pr.yml b/.github/workflows/build-publish-develop-pr.yml index 467411ab4ea..fdd64e9fac6 100644 --- a/.github/workflows/build-publish-develop-pr.yml +++ b/.github/workflows/build-publish-develop-pr.yml @@ -63,6 +63,8 @@ jobs: - name: Merge images for both architectures uses: ./.github/actions/goreleaser-build-sign-publish with: + # Temporary pin to working version as 2.4.2+ is breaking arm64 builds + goreleaser-version: "v2.3.2" docker-registry: ${{ secrets.AWS_SDLC_ECR_HOSTNAME }} docker-image-tag: ${{ needs.image-tag.outputs.image-tag }} goreleaser-release-type: "merge" @@ -112,6 +114,8 @@ jobs: uses: ./.github/actions/goreleaser-build-sign-publish if: steps.cache.outputs.cache-hit != 'true' with: + # Temporary pin to working version as 2.4.2+ is breaking arm64 builds + goreleaser-version: "v2.3.2" docker-registry: ${{ secrets.AWS_SDLC_ECR_HOSTNAME }} docker-image-tag: ${{ needs.image-tag.outputs.image-tag }} goreleaser-release-type: ${{ needs.image-tag.outputs.release-type }} diff --git a/.github/workflows/build-publish-goreleaser.yml b/.github/workflows/build-publish-goreleaser.yml index ca28d767398..6ec4271c13d 100644 --- a/.github/workflows/build-publish-goreleaser.yml +++ b/.github/workflows/build-publish-goreleaser.yml @@ -67,6 +67,8 @@ jobs: id: goreleaser-build-sign-publish uses: ./.github/actions/goreleaser-build-sign-publish with: + # Temporary pin to working version as 2.4.2+ is breaking arm64 builds + goreleaser-version: "v2.3.2" docker-registry: ${{ env.ECR_HOSTNAME }} docker-image-tag: ${{ github.ref_name }} goreleaser-config: .goreleaser.production.yaml @@ -119,6 +121,8 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: ./.github/actions/goreleaser-build-sign-publish with: + # Temporary pin to working version as 2.4.2+ is breaking arm64 builds + goreleaser-version: "v2.3.2" docker-registry: ${{ env.ECR_HOSTNAME }} docker-image-tag: ${{ github.ref_name }} goreleaser-release-type: release