Skip to content

Commit

Permalink
Include target in digests dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sveitser committed Dec 5, 2023
1 parent 14a595f commit b6e5188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:}"
Expand All @@ -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

0 comments on commit b6e5188

Please sign in to comment.