Skip to content
Snippets Groups Projects
Commit f2ac01b9 authored by Joseph Weston's avatar Joseph Weston
Browse files

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

Latest versions of Kaniko builder use this new credentials directory
parent c82e5dae
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,8 @@ variables:
untracked: true
expire_in: 1 hour
before_script:
- 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:ubuntu:
<<: *build-env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment