Commit 4b3f29d9 authored by David Mendez's avatar David Mendez
Browse files

Debug CI

parent fb5be179
...@@ -58,7 +58,8 @@ build_docker_image_server: ...@@ -58,7 +58,8 @@ build_docker_image_server:
script: script:
- set -x - set -x
# Check rate limit # Check rate limit
- TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq --raw-output .token) && curl --head --header "Authorization: Bearer $TOKEN" "https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest" 2>&1 - |
TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq --raw-output .token) && curl --head --header "Authorization: Bearer $TOKEN" "https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest" 2>&1
- docker version # verify docker cli is there. Also prints server info - docker version # verify docker cli is there. Also prints server info
- echo ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX} - echo ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}
# - echo ${CI_DEPENDENCY_PROXY_PASSWORD} | docker login -u ${CI_DEPENDENCY_PROXY_USER} --password-stdin ${CI_DEPENDENCY_PROXY_SERVER} # - echo ${CI_DEPENDENCY_PROXY_PASSWORD} | docker login -u ${CI_DEPENDENCY_PROXY_USER} --password-stdin ${CI_DEPENDENCY_PROXY_SERVER}
......
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