diff --git a/.circleci/docker.sh b/.circleci/docker.sh index 562de3db..655799d4 100644 --- a/.circleci/docker.sh +++ b/.circleci/docker.sh @@ -6,6 +6,11 @@ DATE=`date +%Y-%m-%d` DOCKER_REPOSITORY="pelias" DOCKER_PROJECT="${DOCKER_REPOSITORY}/${CIRCLE_PROJECT_REPONAME}" +# skip builds on greenkeeper branches +if [ "${CIRCLE_BRANCH##greenkeeper}" ]; then + exit 0 +fi + # the name of the image that represents the "branch", that is an image that will be updated over time with the git branch # the production branch is changed to "latest", otherwise the git branch becomes the name of the version if [[ "${CIRCLE_BRANCH}" == "production" ]]; then