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: ...@@ -103,8 +103,7 @@ docker:
key: default key: default
policy: pull-push policy: pull-push
script: script:
- mkdir -p $CI_PROJECT_DIR/.docker/cache - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- echo "{\"auths\":{\"\":{\"auth\":\"$DOCKER_HUB_AUTH\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
- /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
only: only:
- master - 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