diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..aeb03d4865fea91491c933dab4ad0f672c46b94c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +docker image: + stage: build + environment: + name: $CI_COMMIT_REF_NAME + image: + name: gcr.io/kaniko-project/executor:debug + entrypoint: [""] + script: + - > + /kaniko/executor + --context $CI_PROJECT_DIR/ + --dockerfile $CI_PROJECT_DIR/Dockerfile + --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA + --single-snapshot + - echo Pushed \ No newline at end of file