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 c9a0c3a commit 20ff482Copy full SHA for 20ff482
next-image-tag-number/action.sh
@@ -17,7 +17,8 @@ else
17
AUTH_HEADER=""
18
fi
19
20
-TAGS=$(curl -s $AUTH_HEADER "${IMAGE_REPOSITORY_URL}/tags/list" | jq -r '.tags[]' || echo "")
+TAGS_LIST_JSON=$(curl -s $AUTH_HEADER "${IMAGE_REPOSITORY_URL}/tags/list")
21
+TAGS=$(echo "$TAGS_LIST_JSON" | jq -r '.tags[]' || echo "")
22
23
if [ -z "$TAGS" ]; then
24
echo "No existing tags were found. Using initial tag number ${INITIAL_NUMBER}."
0 commit comments