This commit is contained in:
2023-12-08 14:51:46 +01:00
parent a73015164e
commit 8c8c530d4e
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
set -e
echo "$1"
echo "$2"
TAGS=$( (skopeo list-tags $1 || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags')
echo $TAGS | jq '"Tag not found: "+ .[]'
RESULT=$(echo $TAGS | jq '.==[]')