Commit e3efc5ee authored by David Mendez's avatar David Mendez
Browse files

Debug CI

parent ffa50555
......@@ -55,12 +55,12 @@ build_docker_image_server:
- dind
before_script:
- apk add curl jq
script:
- set -x
# Check rate limit
- echo $DOCKERHUB_REGISTRY_PASSWORD | docker login -u $DOCKERHUB_REGISTRY_USER --password-stdin $DOCKERHUB_REGISTRY
- |
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
script:
- set -x
# Check rate limit
- docker version # verify docker cli is there. Also prints server info
- 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}
......
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