Skip to content
Snippets Groups Projects
Commit 7b39fc84 authored by root's avatar root
Browse files

fix kaniko build arg

parent acd2653d
No related branches found
No related tags found
No related merge requests found
Pipeline #11720 passed
...@@ -19,10 +19,12 @@ build: ...@@ -19,10 +19,12 @@ build:
name: gcr.io/kaniko-project/executor:v1.23.2-debug name: gcr.io/kaniko-project/executor:v1.23.2-debug
entrypoint: [""] entrypoint: [""]
script: script:
- export
- /kaniko/executor - /kaniko/executor
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
--build-arg "TOKEN_PORTAL_VERSION=${TOKEN_PORTAL_VERSION}"
#rules: #rules:
# - if: $CI_COMMIT_TAG # - if: $CI_COMMIT_TAG
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment