Skip to content

Commit

Permalink
Get digest output property
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Oct 22, 2023
1 parent 6256b33 commit 8d35a0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ jobs:
- name: Export digest
if: github.event_name != 'pull_request'
run: |
echo "${{ toJSON(steps.build.outputs.digest) }}"
mkdir -p /tmp/digests
touch "/tmp/digests/${{ steps.build.outputs['containerimage.digest'] }}"
touch "/tmp/digests/${{ steps.build.outputs.digest }}"
- name: Upload digest
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 8d35a0b

Please sign in to comment.