From 2a204ac3cbb2f36d35f9664f53bfea0104af6e9f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 10:33:13 +0000 Subject: [PATCH 1/2] [gha] Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6a4e0f..082e3b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: - name: Upload digest if: needs.prepare.outputs.push == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: digests path: /tmp/digests/* From 35ca4590a07b78daff9fd1fcf1a502c7e0767756 Mon Sep 17 00:00:00 2001 From: Patrick Baus Date: Sun, 17 Dec 2023 10:59:19 +0100 Subject: [PATCH 2/2] Updated to actions/download-atrifact@v4 --- .github/workflows/ci.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) 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