diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5b9fa724b3..fb0e9b7729 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -195,21 +195,21 @@ jobs: touch "/tmp/metadata/runner/${runnerDigest#sha256:}" env: METADATA: ${{ steps.build.outputs.metadata }} - - - name: Upload builder metadata + + - name: Upload builder metadata if: fromJson(needs.prepare.outputs.push) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: metadata-builder-${{ matrix.variant }} + name: metadata-builder-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }} path: /tmp/metadata/builder/* if-no-files-found: error retention-days: 1 - name: Upload runner metadata if: fromJson(needs.prepare.outputs.push) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: metadata-runner-${{ matrix.variant }} + name: metadata-runner-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }} path: /tmp/metadata/runner/* if-no-files-found: error retention-days: 1 @@ -237,10 +237,11 @@ jobs: steps: - name: Download metadata - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: metadata-${{ matrix.target }}-${{ matrix.variant }} + pattern: metadata-${{ matrix.target }}-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }} path: /tmp/metadata + merge-multiple: true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3