Merge branch 'dev' into 'main'

.gitlab-ci.yml fixes

See merge request oscar.krause/fastapi-dls!8
This commit is contained in:
Oscar Krause 2022-12-21 11:12:18 +01:00
commit 79c8d19b00
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ deploy:
before_script:
- echo "COMMIT=${CI_COMMIT_SHA}" >> version.env
- source version.env
- Building docker image for commit "${COMMIT}" with version "${VERSION}"
- echo "Building docker image for commit ${COMMIT} with version ${VERSION}"
script:
- docker login -u $PUBLIC_REGISTRY_USER -p $PUBLIC_REGISTRY_TOKEN
- docker build . --tag $PUBLIC_REGISTRY_USER/${CI_PROJECT_NAME}:${VERSION}