Skip to content

Commit

Permalink
fix: pinning goreleaser version to fix builds (#15108)
Browse files Browse the repository at this point in the history
* fix: pinning goreleaser version to fix builds

* fix: pin goreleser version in all locations
  • Loading branch information
erikburt authored Nov 4, 2024
1 parent 1738332 commit 8bbff53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-publish-goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8bbff53

Please sign in to comment.