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 7eb27ec commit 5a8c85eCopy full SHA for 5a8c85e
bin/docker-tags
@@ -37,6 +37,13 @@ while true; do
37
exit 1
38
fi
39
40
+ # Check for 404 error - repository doesn't exist yet
41
+ if echo "$RESPONSE" | jq -e '.message == "httperror 404: object not found"' >/dev/null 2>&1; then
42
+ # Repository doesn't exist, no stable releases
43
+ HAS_STABLE_RELEASE=false
44
+ break
45
+ fi
46
+
47
if ! echo "$RESPONSE" | jq -e '.results' >/dev/null 2>&1; then
48
echo "ERROR: Invalid JSON response from Docker Hub" >&2
49
echo "Response: $RESPONSE" >&2
0 commit comments