2023-06-14 19:38:48 +01:00
|
|
|
variables:
|
2023-06-14 19:40:16 +01:00
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
2023-06-14 19:38:48 +01:00
|
|
|
|
2023-06-14 12:52:42 +01:00
|
|
|
build:
|
|
|
|
stage: build
|
2023-06-14 13:20:05 +01:00
|
|
|
image:
|
2023-06-14 20:04:05 +01:00
|
|
|
name: gcr.io/kaniko-project/executor:v1.11.0-debug
|
2023-06-14 13:20:05 +01:00
|
|
|
entrypoint: [""]
|
2023-06-19 10:53:04 +01:00
|
|
|
cache:
|
|
|
|
key: cache
|
|
|
|
paths:
|
|
|
|
- /cache/
|
2023-06-14 12:52:42 +01:00
|
|
|
script:
|
2023-06-14 13:20:05 +01:00
|
|
|
- /kaniko/executor
|
2023-06-19 10:53:04 +01:00
|
|
|
--cache --cache-dir=/cache --compressed-caching=false --use-new-run --cleanup
|
2023-06-14 13:20:05 +01:00
|
|
|
--context "${CI_PROJECT_DIR}"
|
|
|
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
|
|
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"
|
|
|
|
--destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}"
|