Commit 3af9ee2d authored by Sander Kuusemets's avatar Sander Kuusemets
Browse files

Update .gitlab-ci.yml

parent d67b988d
Pipeline #329 passed with stage
in 4 minutes and 21 seconds
...@@ -12,6 +12,5 @@ build: ...@@ -12,6 +12,5 @@ build:
- master - master
script: script:
- mkdir -p /kaniko/.docker - 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\"}, \"$REMOTE_REGISTRY_ADDRESS\":{\"username\":\"$REMOTE_REGISTRY_USER\",\"password\":\"$REMOTE_REGISTRY_TOKEN\"}}}" > /kaniko/.docker/config.json
- echo CI_REGISTRY_IMAGE $CI_REGISTRY_IMAGE - /kaniko/executor --context $CI_PROJECT_DIR --cache --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_BUILD_REF --destination $CI_REGISTRY_IMAGE:latest --destination $REMOTE_REGISTRY_ADDRESS/$CI_PROJECT_PATH:$CI_BUILD_REF --destination $REMOTE_REGISTRY_ADDRESS/$CI_PROJECT_PATH:latest
- /kaniko/executor --context $CI_PROJECT_DIR --cache --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_BUILD_REF --destination $CI_REGISTRY_IMAGE:latest
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