15 lines
334 B
YAML
15 lines
334 B
YAML
|
stages:
|
||
|
- build
|
||
|
|
||
|
build-container:
|
||
|
stage: build
|
||
|
image:
|
||
|
name: gcr.io/kaniko-project/executor:v1.9.0-debug
|
||
|
entrypoint: [ "" ]
|
||
|
script:
|
||
|
- /kaniko/executor
|
||
|
--context "${CI_PROJECT_DIR}"
|
||
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"
|
||
|
only:
|
||
|
- main
|