Commit 0abd0497 authored by Sandro Mathys's avatar Sandro Mathys
Browse files

let kaniko log in to the CI Dependency Proxy

parent 1e7428d5
......@@ -8,7 +8,7 @@ default:
entrypoint: [""]
before_script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}},{\"${CI_DEPENDENCY_PROXY_SERVER}\":{\"username\":\"${CI_DEPENDENCY_PROXY_USER}\",\"password\":\"${CI_DEPENDENCY_PROXY_PASSWORD}\"}}}" > /kaniko/.docker/config.json
stages:
- kaniko
......
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