Commit f2ac01b9 authored by Joseph Weston's avatar Joseph Weston

change credentials directory from /kaniko/.docker to /root/.docker

Latest versions of Kaniko builder use this new credentials directory
parent c82e5dae
......@@ -25,8 +25,8 @@ variables:
untracked: true
expire_in: 1 hour
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- mkdir -p /root/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /root/.docker/config.json
<<: *build-env
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