From b6e51883aed307c28dee0e03a3032ec43066dc44 Mon Sep 17 00:00:00 2001 From: sveitser Date: Tue, 5 Dec 2023 11:16:16 +0100 Subject: [PATCH] Include target in digests dir --- .github/actions/docker-image/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-image/action.yml b/.github/actions/docker-image/action.yml index ca83563af0..ba86bec229 100644 --- a/.github/actions/docker-image/action.yml +++ b/.github/actions/docker-image/action.yml @@ -42,7 +42,7 @@ runs: - name: Export digest shell: bash run: | - digest_dir="${{ runner.temp }}/digests" + digest_dir="${{ runner.temp }}/${{ inputs.target }}-digests" mkdir -p "${digest_dir}" digest="${{ steps.build.outputs.digest }}" touch "${digest_dir}/${digest#sha256:}" @@ -51,6 +51,6 @@ runs: uses: actions/upload-artifact@v3 with: name: "${{ inputs.target }}-digests" - path: "${{ runner.temp }}/digests/*" + path: "${{ runner.temp }}/${{ inputs.target }}-digests/*" if-no-files-found: error retention-days: 1