Commit 63492ea2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

deleting tags from correct repository

parent eb7c1453
......@@ -102,7 +102,7 @@ do
done
echo ""
# Delete FPM Tags that are in no revision
# Delete NGINX Tags that are in no revision
echo "Deleting unused NGINX Tags..."
for nginx_tag in ${!existing_tags_nginx[@]}
do
......
......@@ -50,6 +50,6 @@ done
for nginx_tag in ${!expired_nginx_tags[@]}
do
echo "Deleting nginx tag $nginx_tag"
curl --fail --silent -X DELETE -H "JOB-TOKEN: $CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/registry/repositories/$FPM_REPOSITORY_ID/tags/$nginx_tag"
curl --fail --silent -X DELETE -H "JOB-TOKEN: $CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/registry/repositories/$NGINX_REPOSITORY_ID/tags/$nginx_tag"
echo ""
done
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment