Update .gitlab-ci.yml

This commit is contained in:
2023-11-20 22:37:29 +00:00
parent eb8b32c111
commit 6cb1c551e9

View File

@@ -6,6 +6,6 @@ build-docker:
- docker build --pull -t illegitimate:$CI_COMMIT_BRANCH . - docker build --pull -t illegitimate:$CI_COMMIT_BRANCH .
- docker push illegitimate:$CI_COMMIT_BRANCH - docker push illegitimate:$CI_COMMIT_BRANCH
rules: rules:
- if: $CI_COMMIT_BRANCH === "main" - if: $CI_COMMIT_BRANCH
exists: exists:
- Dockerfile - Dockerfile