#11 Changed pipeline to only run on master branch

This commit is contained in:
Luke Else 2024-02-16 15:03:46 +00:00
parent 22833ec7ad
commit 164e4aa213

View File

@ -28,4 +28,6 @@ deploy:
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE:latest
only:
- master