Skip to content

Commit

Permalink
fix: print and output image digest as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed Jun 9, 2023
1 parent 27ae846 commit 579c9f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ jobs:
echo >> $GITHUB_STEP_SUMMARY
echo "### Image reference" >> $GITHUB_STEP_SUMMARY
echo "- \`<registry>/${{ inputs.name }}:${{ github.sha }}@${digest}\`" >> $GITHUB_STEP_SUMMARY
echo "- \`${{ inputs.registry-url }}/${{ inputs.name }}:${{ github.sha }}@${digest}\`" >> $GITHUB_STEP_SUMMARY
outputs:
image-digest: ${{ steps.push.outputs.image-digest }}
image-ref: ${{ inputs.registry-url }}/${{ inputs.name }}:${{ github.sha }}@${{ steps.push.outputs.image-digest }}
image-ref-stripped: ${{ inputs.name }}:${{ github.sha }}@${{ steps.push.outputs.image-digest }}
image-tags: ${{ steps.push.outputs.image-tags }}
Expand Down

0 comments on commit 579c9f4

Please sign in to comment.