((
This commit is contained in:
2
check.sh
2
check.sh
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
TAGS=$((skopeo list-tags $1 || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags')
|
||||
TAGS=$( (skopeo list-tags $1 || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags')
|
||||
echo $TAGS | jq '"Tag not found: "+ .[]'
|
||||
RESULT=$($TAGS | jq '.==[]')
|
||||
if $RESULT == "true"
|
||||
|
||||
Reference in New Issue
Block a user