Commit 752d720d authored by Matt Pryor's avatar Matt Pryor
Browse files

Prevent images building on every commit

parent a031a2ca
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -63,6 +63,10 @@ variables:
    - test "$CI_COMMIT_REF_NAME" == "master" && docker tag "$REPOSITORY:$CI_COMMIT_SHORT_SHA" "$REPOSITORY:latest"
    # Push all tags
    - docker push $REPOSITORY
  only:
    # Only run build jobs if there is a change to the images
    changes:
      - images/**/*

build:base:
  extends: .docker-build