fix(docker): setup ROOT_DIR
this var is required to determin if inclusion is as submodule or not see failed jobs nofusscomputing/projects/ansible/execution_environment!3 and nofusscomputing/projects/docker-buildx-qemu!1 !22 nofusscomputing/projects/ansible/execution_environment!3 nofusscomputing/projects/docker-buildx-qemu!1
This commit is contained in:
		| @ -37,6 +37,8 @@ variables: | |||||||
|     # See https://github.com/docker-library/docker/pull/166 |     # See https://github.com/docker-library/docker/pull/166 | ||||||
|     DOCKER_TLS_CERTDIR: "" |     DOCKER_TLS_CERTDIR: "" | ||||||
|   before_script: |   before_script: | ||||||
|  |     - if [ "0$JOB_ROOT_DIR" == "0" ]; then ROOT_DIR=gitlab-ci; else ROOT_DIR=$JOB_ROOT_DIR ; fi | ||||||
|  |     - echo "[DEBUG] ROOT_DIR[$ROOT_DIR]" | ||||||
|     - docker info |     - docker info | ||||||
|     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY |     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY | ||||||
|     #- pip3 install -r gitlab-ci/gitlab_release/requirements.txt |     #- pip3 install -r gitlab-ci/gitlab_release/requirements.txt | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user