Update .gitlab-ci.yml file

c9d7c0d · Gabriel Morell · 2022-06-22 05:18

1 files +12 -0

Files changed

added .gitlab-ci.yml
+12 −0
@@ -0,0 +1,12 @@
1 +image:
2 + name: gcr.io/kaniko-project/executor:debug
3 + entrypoint: [ "" ]
4 +build-master:
5 + retry: 2
6 + stage: build
7 + script:
8 + - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
9 + - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE --registry-mirror e0.registry.gng.io
10 +
11 + only:
12 + - master

Parents: eb353df