Skip to content
Snippets Groups Projects
Commit c7e1abdc authored by Julien Leduc's avatar Julien Leduc
Browse files

jq is not installed on runner running scripts

parent 11653cd3
Branches
Tags
No related merge requests found
......@@ -14,7 +14,7 @@ REPOSITORY=$(echo ${TO} | sed -e 's%[^/]\+/%%')
GITLAB_HOST=gitlab.cern.ch
JWT_PULL_PUSH_TOKEN=$(curl -q -u ${DOCKER_LOGIN_USERNAME}:${DOCKER_LOGIN_PASSWORD} \
"https://${GITLAB_HOST}/jwt/auth?service=container_registry&scope=repository:${REPOSITORY}:pull,push" | jq .token -r)
"https://${GITLAB_HOST}/jwt/auth?service=container_registry&scope=repository:${REPOSITORY}:pull,push" | cut -d\" -f4 )
echo "List of tags in registry"
curl "https://${CI_REGISTRY}/v2/${REPOSITORY}/tags/list" -H "Authorization: Bearer ${JWT_PULL_PUSH_TOKEN}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment