Restriction du CI/CD à la branche Master

This commit is contained in:
FyloZ 2021-02-12 21:59:44 -05:00
parent 50c957576a
commit 0dd40facf3
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@ variables:
CI_REGISTRY_IMAGE_GRADLE: "$CI_REGISTRY_IMAGE:latest-gradle"
CI_REGISTRY_IMAGE_BACKEND: "$CI_REGISTRY_IMAGE:latest"
only:
refs:
- master
before_script:
- docker info
- docker login -u $CI_USERNAME -p $CI_ACCESS_TOKEN $CI_REGISTRY