Verified Commit 96bb688f authored by hashworks's avatar hashworks
Browse files

Add --force to kaniko to override cgroup-v2 container detection

Revert after [0] is fixed

[0] https://github.com/GoogleContainerTools/kaniko/issues/1592
parent 293bcb10
......@@ -96,6 +96,7 @@ rootfs:secure:
entrypoint: [""]
script:
- /kaniko/executor
--force
--whitelist-var-run="false"
--context $CI_PROJECT_DIR/output
--dockerfile $CI_PROJECT_DIR/output/Dockerfile.$GROUP
......@@ -148,6 +149,7 @@ image:publish:secure:
LATEST="--destination archlinux/archlinux:latest";
fi
- /kaniko/executor
--force
--whitelist-var-run="false"
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile.$GROUP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment