Skip to content
Snippets Groups Projects
Commit 0e680128 authored by Ostermayer, Markus's avatar Ostermayer, Markus
Browse files

Used absolute path to the dockerfile

parent bcd61eba
No related branches found
No related tags found
1 merge request!5Fixed Koniko CI Setup
Pipeline #196460 failed
...@@ -3,12 +3,11 @@ stages: ...@@ -3,12 +3,11 @@ stages:
build-image: build-image:
stage: build stage: build
image: image: gcr.io/kaniko-project/executor:v1.9.0-debug
name: gcr.io/kaniko-project/executor:v1.9.0-debug
script: script:
- /kaniko/executor - /kaniko/executor
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:latest" --destination "${CI_REGISTRY_IMAGE}:latest"
--build-arg CI_TOKEN=${CI_JOB_TOKEN} --build-arg CI_TOKEN=${CI_JOB_TOKEN}
# rules: # rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment