Update .gitlab-ci.yml

This commit is contained in:
2023-11-20 22:39:47 +00:00
parent 4854669098
commit 0ee809c64b

View File

@@ -4,7 +4,7 @@ build-docker:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t illegitimate:$CI_COMMIT_BRANCH .
- docker push illegitimate:$CI_COMMIT_BRANCH
- docker push "illegitimate:$CI_COMMIT_BRANCH"
rules:
- if: $CI_COMMIT_BRANCH
exists: