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

test

parent 845a08e7
Branches
Tags
No related merge requests found
Pipeline #6691 passed
......@@ -27,4 +27,4 @@ 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}"
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