mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
kata-deploy: export CI in the build container
The clone_tests_repo() in ci/lib.sh relies on CI variable to decide whether to checkout the tests repository or not. So it is required to pass that variable down to the build container of kata-deploy, otherwise it can fail on some scenarios. Fixes #4949 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
4f90e3c87e
commit
f7d41e98cb
@ -40,6 +40,7 @@ docker build -q -t build-kata-deploy \
|
||||
|
||||
docker run \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
--env CI="${CI:-}" \
|
||||
--env USER=${USER} -v "${kata_dir}:${kata_dir}" \
|
||||
--rm \
|
||||
-w ${script_dir} \
|
||||
|
Loading…
Reference in New Issue
Block a user