Commit 991b5f08 authored by Christian Pointner's avatar Christian Pointner
Browse files

switch to giltab docker registry

parent 8f067adf
Pipeline #725 failed with stages
in 7 minutes and 20 seconds
......@@ -103,8 +103,7 @@ docker:
key: default
policy: pull-push
script:
- mkdir -p $CI_PROJECT_DIR/.docker/cache
- echo "{\"auths\":{\"index.docker.io\":{\"auth\":\"$DOCKER_HUB_AUTH\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --cache=true --cache-dir $CI_PROJECT_DIR/.docker/cache --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination autoradio/tank:$CI_COMMIT_REF_NAME
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
only:
- master
Supports Markdown
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