test
This commit is contained in:
11
check.sh
11
check.sh
@@ -2,6 +2,11 @@
|
||||
|
||||
set -e
|
||||
|
||||
TAGS=$((skopeo list-tags docker://gitea.phadric.de/andreas/sambaa || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags')
|
||||
#echo $TAGS | jq '"Tag not found: "+ .[]'
|
||||
echo $TAGS | jq '.==[]'
|
||||
TAGS=$((skopeo list-tags $1 || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags')
|
||||
echo $TAGS | jq '"Tag not found: "+ .[]'
|
||||
RESULT=$($TAGS | jq '.==[]')
|
||||
if $RESULT == "true"
|
||||
then
|
||||
echo "All images found"
|
||||
fi
|
||||
echo exist=$RESULT >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user