From 09d52fbd1c1dcfe6c5f5a32448d7db12926a850e Mon Sep 17 00:00:00 2001 From: Jacob Salvi Date: Sat, 21 Mar 2020 15:34:28 +0100 Subject: [PATCH] Modified the pipeline so that only the master and dev branch have to do the deploy --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cad8f7a..1af1470 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,8 +26,8 @@ testing_testing: smartHut_deploy: stage: deploy - # tags: - # - dind + tags: + - dind image: docker:latest services: - docker:dind @@ -42,3 +42,6 @@ smartHut_deploy: - "docker push smarthutsm/smarthut:${CI_COMMIT_BRANCH}" after_script: - docker logout + only: + - dev + - master