diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 082e3b0..95e22b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,6 +95,15 @@ jobs: mkdir -p /tmp/digests digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${digest#sha256:}" + shell: bash + + - name: Sanitize platform string + id: platform + env: + PLATFORM_STRING: ${{ matrix.platform }} + run: | + echo "value=${PLATFORM_STRING//\//_}" >> $GITHUB_OUTPUT + shell: bash - name: Upload digest if: needs.prepare.outputs.push == 'true' @@ -116,10 +125,15 @@ jobs: packages: write steps: - name: Download digests - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: digests - path: /tmp/digests + path: artifacts + + - name: Merge artifacts + run: | + mkdir /tmp/digests + mv artifacts/*/* /tmp/digests + shell: bash - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3