Modified the pipeline so that only the master and dev branch have to do the deploy
This commit is contained in:
parent
b2d94f337f
commit
09d52fbd1c
1 changed files with 5 additions and 2 deletions
|
@ -26,8 +26,8 @@ testing_testing:
|
||||||
|
|
||||||
smartHut_deploy:
|
smartHut_deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
# tags:
|
tags:
|
||||||
# - dind
|
- dind
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
@ -42,3 +42,6 @@ smartHut_deploy:
|
||||||
- "docker push smarthutsm/smarthut:${CI_COMMIT_BRANCH}"
|
- "docker push smarthutsm/smarthut:${CI_COMMIT_BRANCH}"
|
||||||
after_script:
|
after_script:
|
||||||
- docker logout
|
- docker logout
|
||||||
|
only:
|
||||||
|
- dev
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in a new issue