From 9706b0163698b83ae45587c9bb5c9235a9b9a186 Mon Sep 17 00:00:00 2001 From: marco Date: Tue, 30 Jan 2024 21:41:09 +0100 Subject: [PATCH] wip --- .github/workflows/docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8a594e5782d..974dc92706f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -33,6 +33,7 @@ on: env: DOCKERHUB_IMAGE: ${{ secrets.DOCKER_USERNAME }}/crowdsec GHCR_IMAGE: ghcr.io/${{ github.repository_owner }}/crowdsec + DIGESTS: digests-${{ inputs.debian && 'debian' || 'alpine' }} jobs: build: @@ -110,7 +111,7 @@ jobs: name: Upload digest uses: actions/upload-artifact@v4 with: - name: digests-${{ env.PLATFORM_PAIR }} + name: ${{ env.DIGESTS }}-${{ env.PLATFORM_PAIR }} path: /tmp/digests/* if-no-files-found: error retention-days: 1 @@ -126,7 +127,7 @@ jobs: uses: actions/download-artifact@v4 with: path: /tmp/digests - pattern: digests-* + pattern: ${{ env.DIGESTS }}-* merge-multiple: true - name: Set up Docker Buildx