Correct Syntax

This commit is contained in:
Alexander Hosking 2022-04-15 14:52:22 -04:00
parent 22aa932054
commit dfafcaba9e

View File

@ -17,19 +17,18 @@ buiild job:
- echo "DOCKER_IMAGE_NAME_TAG_WITH_DIGEST=${DOCKER_IMAGE_TAG_REF}@$(cat /digest-file)" > out.env - echo "DOCKER_IMAGE_NAME_TAG_WITH_DIGEST=${DOCKER_IMAGE_TAG_REF}@$(cat /digest-file)" > out.env
- cat out.env - cat out.env
artifacts: artifacts:
reports: reports:
dotenv: out.env dotenv: out.env
test job: test job:
stage: test stage: test
needs: needs:
- build - build
image: ${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST} image: ${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST}
before_script: before_script:
# versions - echo "${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST}"
- echo "${DOCKER_IMAGE_NAME_TAG_WITH_DIGEST}"
script: script:
- export PYTHONPATH=. - export PYTHONPATH=.
- export FLASK_APP=period - export FLASK_APP=period