Vérification de la présence du fichier Dockerfile
This commit is contained in:
parent
8af60d2046
commit
5af4f69e7d
|
@ -45,7 +45,7 @@ development-image:
|
|||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
|
||||
- exists:
|
||||
exists:
|
||||
- Dockerfile
|
||||
|
||||
production-image:
|
||||
|
@ -59,5 +59,5 @@ production-image:
|
|||
- docker push $CI_REGISTRY_IMAGE:latest
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
- exists:
|
||||
exists:
|
||||
- Dockerfile
|
||||
|
|
Loading…
Reference in a new issue