neiam
/lambent_ex
Lambent Aether 5
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
Update .gitlab-ci.yml file
714ef18 · Gabriel Morell · 2022-11-29 05:40
Files changed
added
.gitlab-ci.yml
+15
−0
@@ -0,0 +1,15 @@
| 1 | +image: | |
| 2 | + name: gcr.io/kaniko-project/executor:v1.6.0-debug | |
| 3 | + entrypoint: [""] | |
| 4 | + | |
| 5 | + | |
| 6 | +build-master: | |
| 7 | + retry: 1 | |
| 8 | + stage: build | |
| 9 | + script: | |
| 10 | + - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json | |
| 11 | + - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE --registry-mirror eu0.regi.kube.gmp.io | |
| 12 | + | |
| 13 | + | |
| 14 | + only: | |
| 15 | + - master |
Parents: 44c31cc