Skip to content
Snippets Groups Projects
Commit 9cba8558 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

fix

parent 47f09b8a
No related branches found
No related tags found
No related merge requests found
Pipeline #6702 passed
......@@ -28,4 +28,3 @@ CONTENT_TYPE="application/vnd.docker.distribution.manifest.v2+json"
TOKEN="$(curl --user "${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD}" "${SERVER_HOST_SCHEMA:-https}://${CI_SERVER_HOST}/jwt/auth?offline_token=true&service=container_registry&scope=repository:${CI_PROJECT_PATH}:push,pull" | jq -r .token)"
curl -H "${CONTENT_TYPE}" -H "Authorization: Bearer ${TOKEN}" "${REGISTRY_SCHEMA:-https}://${CI_REGISTRY}/v2/${IMAGE_PATH}/manifests/${REGISTRY_TAG_OLD}"
# && exit 1 || true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment