2023-11-20 15:32:32 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build-container:
|
|
|
|
stage: build
|
|
|
|
image:
|
2023-11-20 15:37:08 +00:00
|
|
|
name: gcr.io/kaniko-project/executor:debug
|
2023-11-20 15:32:32 +00:00
|
|
|
entrypoint: [ "" ]
|
|
|
|
script:
|
|
|
|
- /kaniko/executor
|
|
|
|
--context "${CI_PROJECT_DIR}"
|
|
|
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
|
|
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
|
|
|
|
only:
|
|
|
|
- main
|