diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 985f17ea12cf2ffcb65b069ae099b13958a89679..a37807e855093936403a82e7d1aefb8eeb4d2438 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,14 +3,15 @@ stages:
build-image:
stage: build
- image:
- name: gcr.io/kaniko-project/executor:v1.9.0-debug
+ image:
+ name: gcr.io/kaniko-project/executor:v1.9.0-debug
+ entrypoint: [""]
script:
- - /kaniko/executor
- --context "${CI_PROJECT_DIR}"
- --dockerfile "Dockerfile"
- --destination "${CI_REGISTRY_IMAGE}:latest"
- --build-arg CI_TOKEN=${CI_JOB_TOKEN}
+ - /kaniko/executor
+ --context "${CI_PROJECT_DIR}"
+ --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
+ --destination "${CI_REGISTRY_IMAGE}:latest"
+ --build-arg CI_TOKEN=${CI_JOB_TOKEN}
rules:
- if: $CI_COMMIT_BRANCH == "main"
changes: