forked from oscar.krause/fastapi-dls
.gitlab-ci.yml fixes
This commit is contained in:
parent
6afb121533
commit
00f6590a9f
@ -27,7 +27,7 @@ deploy:
|
|||||||
before_script:
|
before_script:
|
||||||
- echo "COMMIT=${CI_COMMIT_SHA}" >> version.env
|
- echo "COMMIT=${CI_COMMIT_SHA}" >> version.env
|
||||||
- source 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:
|
script:
|
||||||
- docker login -u $PUBLIC_REGISTRY_USER -p $PUBLIC_REGISTRY_TOKEN
|
- docker login -u $PUBLIC_REGISTRY_USER -p $PUBLIC_REGISTRY_TOKEN
|
||||||
- docker build . --tag $PUBLIC_REGISTRY_USER/${CI_PROJECT_NAME}:${VERSION}
|
- docker build . --tag $PUBLIC_REGISTRY_USER/${CI_PROJECT_NAME}:${VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user