From e5b44b3cb659ed68eef61a3200e8217f5f9b29d0 Mon Sep 17 00:00:00 2001 From: Chris Doherty Date: Mon, 15 Jan 2024 13:30:39 -0600 Subject: [PATCH] Patch CI upload and downloa Signed-off-by: Chris Doherty --- .github/workflows/ci.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7de5aed5..8a8e52ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -80,7 +80,7 @@ jobs: - name: Upload linux/${{ matrix.platform }} binary uses: actions/upload-artifact@v4 with: - name: hegel + name: hegel-${{ matrix.platform }} retention-days: 1 path: hegel-linux-${{ matrix.platform }} @@ -113,9 +113,10 @@ jobs: # whatever name they were uploaded with. Its required because the Dockerfile expects # the filenames to be formatted appropriately for the platform. - name: Download all binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: hegel + name: hegel-* + merge-multiple: true # The upload/download actions do not preserve permissions so they need explicitly setting. - name: Fix binary permissions @@ -148,4 +149,5 @@ jobs: cache-from: type=registry,ref=${{ env.IMAGE }}:latest push: ${{ startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/v') }} tags: ${{ steps.meta.outputs.tags }} + platforms: linux/amd64,linux/arm64