Commit 07e4ddc1 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Avoid CI builds on changes to master

Master should only be updated with tagged changes, so builds should be
from tags.
parent c1504293
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ lint:publish:
build:
  stage: build
  extends: .docker
  except: [ master ]
  script:
    - docker build . --pull=true --tag=${BUILD_TAG}
    - docker push ${BUILD_TAG}
@@ -77,7 +78,7 @@ build:
deploy:branch:
  stage: deploy
  extends: .docker
  except: [ tags ]
  except: [ tags master ]
  script:
    - docker pull ${BUILD_TAG}
    - docker tag ${BUILD_TAG} ${LATEST_TAG}