Loading .gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ stages: variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "" GIT_CLEAN_FLAGS: -ffdx build_image: stage: build Loading @@ -23,8 +24,11 @@ build_image: - when: never variables: GIT_STRATEGY: clone GIT_CLEAN_FLAGS: -ffdx before_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true - echo "CI_REGISTRY = $CI_REGISTRY" - echo "CI_PROJECT_PATH = $CI_PROJECT_PATH" - export IMAGE_NAME="$CI_REGISTRY/$(echo $CI_PROJECT_PATH | tr '[:upper:]' '[:lower:]')" Loading Loading @@ -67,7 +71,10 @@ test_documentation: - when: never variables: GIT_STRATEGY: clone GIT_CLEAN_FLAGS: -ffdx before_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true - echo "IMAGE_NAME from artifact = $IMAGE_NAME" - echo "IMAGE_TAG from artifact = $IMAGE_TAG" - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY Loading Loading
.gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ stages: variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "" GIT_CLEAN_FLAGS: -ffdx build_image: stage: build Loading @@ -23,8 +24,11 @@ build_image: - when: never variables: GIT_STRATEGY: clone GIT_CLEAN_FLAGS: -ffdx before_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true - echo "CI_REGISTRY = $CI_REGISTRY" - echo "CI_PROJECT_PATH = $CI_PROJECT_PATH" - export IMAGE_NAME="$CI_REGISTRY/$(echo $CI_PROJECT_PATH | tr '[:upper:]' '[:lower:]')" Loading Loading @@ -67,7 +71,10 @@ test_documentation: - when: never variables: GIT_STRATEGY: clone GIT_CLEAN_FLAGS: -ffdx before_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true - echo "IMAGE_NAME from artifact = $IMAGE_NAME" - echo "IMAGE_TAG from artifact = $IMAGE_TAG" - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY Loading