We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ff482 commit 5492c41Copy full SHA for 5492c41
next-image-tag-number/action.sh
@@ -17,7 +17,7 @@ else
17
AUTH_HEADER=""
18
fi
19
20
-TAGS_LIST_JSON=$(curl -s $AUTH_HEADER "${IMAGE_REPOSITORY_URL}/tags/list")
+TAGS_LIST_JSON=$(curl -s $AUTH_HEADER "${IMAGE_REPOSITORY_URL}/tags/list") || exit 1
21
TAGS=$(echo "$TAGS_LIST_JSON" | jq -r '.tags[]' || echo "")
22
23
if [ -z "$TAGS" ]; then
0 commit comments