From 44aa7cae5187b5e2d673dab2f7f84a8224445bb8 Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 18 Mar 2020 12:45:53 -0400 Subject: [PATCH] Build images when PRs are merged to master (#488) --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34e4803e..da9d2312 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -189,7 +189,7 @@ jobs: name: Deploy to Dockerhub command: | if [ "${CIRCLE_BRANCH}" == "master" ]; then - DOCKER_TAG="latest" + DOCKER_TAG="${CIRCLE_SHA1}" fi if echo "${CIRCLE_BRANCH}" | grep '^feature\..*' > /dev/null; then