We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1be9659 commit 9e0ebe8Copy full SHA for 9e0ebe8
dc/registry_delete.sh
@@ -89,9 +89,7 @@ function force_delete_repo() {
89
if [ "$FORCE_DELETE_REPO" == "true" ]; then
90
repo_tags=$(curl -s -u $HTTPS_USERNAME https://$REGISTRY_URL/v2/$GITHUB_OWNER/$APP_NAME/tags/list | jq -r '.tags[]?')
91
if [ -n "$repo_tags" ]; then
92
- echo "::error::found existing manifests for $REGISTRY_URL/$GITHUB_OWNER/$APP_NAME"
93
- exit 1
94
- else
+ echo "::warning::found existing manifests for $REGISTRY_URL/$GITHUB_OWNER/$APP_NAME, running delete"
95
delete_since_days "$repo_tags" "0"
96
fi
97
0 commit comments