Commit 075d08fb authored by Nicolas Lenz's avatar Nicolas Lenz

Build image only for master

parent 93f6c75a
Pipeline #816 passed with stages
in 2 minutes and 29 seconds
......@@ -28,3 +28,5 @@ build-image:
- mv nebelhorn docker/
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/docker --dockerfile $CI_PROJECT_DIR/docker/dockerfile --destination $CI_REGISTRY_IMAGE:latest
- master
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