Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-02-05 23:12:16 +00:00 committed by GitHub
parent 8c013e9516
commit 4cf3bf3168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,10 +45,10 @@ jobs:
result=$(echo $response | jq ".results")
if [ "$result" == "[]" ]; then
echo "Tag ${{ steps.versionNumber.outputs.versionNumber }} doesnt exist. Continuing with build and push."
echo "JOB_END_EARLY=false" >> $JOB_END_EARLY
else
echo "Tag ${{ steps.versionNumber.outputs.versionNumber }} already exists. Skipping build and push."
env:
JOB_END_EARLY: true
echo "JOB_END_EARLY=true" >> $JOB_END_EARLY
fi