image: "domaindrivenarchitecture/devops-build:4.0.8" before_script: - python --version - python -m pip install --upgrade pip - pip install -r requirements.txt - export IMAGE_TAG=$CI_IMAGE_TAG - export IMAGE_DOCKERHUB_USER=$DOCKERHUB_USER - export IMAGE_DOCKERHUB_PASSWORD=$DOCKERHUB_PASSWORD stages: - image devops-build-image-test-publish: stage: image script: - cd infrastructure/devops-build && pyb image