From 8de485f94df77270804fa0924f84fd611f82a81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 20 Sep 2023 21:35:53 +0200 Subject: [PATCH] fix: release images for all platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/release-goreleaser.yaml | 8 ++++++++ backend/.goreleaser.yaml | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-goreleaser.yaml b/.github/workflows/release-goreleaser.yaml index 90485ce6..92e5604d 100644 --- a/.github/workflows/release-goreleaser.yaml +++ b/.github/workflows/release-goreleaser.yaml @@ -17,6 +17,14 @@ jobs: digest: ${{ steps.digest.outputs.digest }} runs-on: ubuntu-latest steps: + - uses: jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0 + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: false + swap-storage: false - name: Checkout uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: diff --git a/backend/.goreleaser.yaml b/backend/.goreleaser.yaml index ae0d712f..15892d13 100644 --- a/backend/.goreleaser.yaml +++ b/backend/.goreleaser.yaml @@ -24,10 +24,7 @@ kos: preserve_import_paths: false sbom: none platforms: - - linux/amd64 - - linux/arm64 - # building for all platforms has issues with disk space consumed in GH workflow :-( - # - all + - all flags: - -trimpath ldflags: