diff --git a/action.yml b/action.yml index ec3fe47..0bcae97 100644 --- a/action.yml +++ b/action.yml @@ -138,7 +138,7 @@ runs: id: digest_old shell: bash run: | - DIGEST=$(docker manifest inspect ${{ steps.vars.outputs.tags }} | jq '.manifests[0].digest') + DIGEST=$(docker manifest inspect ${{ steps.vars.outputs.tags }} | jq '.manifests[0].digest' || '') echo "digest=${DIGEST}" >> $GITHUB_OUTPUT # If a build is required, then checkout, login, build and push!