Skip to content

Commit

Permalink
Brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jul 11, 2024
1 parent 939c32b commit 1cbdeb9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ runs:
id: digest_old
shell: bash
run: |
DIGEST=$(docker manifest inspect ${{ steps.vars.outputs.tags }} || echo | jq '.manifests[0].digest')
DIGEST=$((docker manifest inspect ${{ steps.vars.outputs.tags }} || echo )| jq '.manifests[0].digest')
echo "digest=${DIGEST}" >> $GITHUB_OUTPUT
# If a build is required, then checkout, login, build and push!
Expand Down Expand Up @@ -191,3 +191,12 @@ runs:
echo "SHA repeat!"
echo " New: ${{ steps.digest_new.outputs.digest }}"
echo " Old: ${{ steps.digest_old.outputs.digest }}"
# Summary/debugging
- name: Summary
shell: bash
run: |
echo "inputs: ${{ fromJSON(inputs) }}"
echo "digest_new: ${{ steps.digest_new.outputs.digest }}"
echo "digest_old: ${{ steps.digest_old.outputs.digest }}"
echo "triggered: ${{ steps.diff.outputs.triggered }}"

0 comments on commit 1cbdeb9

Please sign in to comment.