fix(ci): Convince kaniko that it is indeed running in a container by --force-ing it.
This commit is contained in:
@@ -222,6 +222,7 @@ build:docker:next:
|
|||||||
- >
|
- >
|
||||||
/kaniko/executor
|
/kaniko/executor
|
||||||
$KANIKO_CACHE_ARGS
|
$KANIKO_CACHE_ARGS
|
||||||
|
--force
|
||||||
--context $CI_PROJECT_DIR
|
--context $CI_PROJECT_DIR
|
||||||
--build-arg CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
--build-arg CREATED=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||||
--build-arg VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml)
|
--build-arg VERSION=$(grep -m1 -o '[0-9].[0-9].[0-9]' Cargo.toml)
|
||||||
|
|||||||
Reference in New Issue
Block a user