Add default Dockerfile to the rule

face-manager-integrated
Elad Bar 2022-12-08 17:36:54 +02:00
parent b868e3dc8e
commit abe366080c
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ docker-latest-build:
- docker push "$CI_REGISTRY_IMAGE${tag}"
# Run this job in a branch where a Dockerfile exists
rules:
- if: $CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != "main" && $CI_COMMIT_BRANCH != "dev"
when: never
- if: $CI_COMMIT_BRANCH
exists:
- Dockerfile