diff --git a/.circleci/config.yml b/.circleci/config.yml index 3c25735fe..6756af014 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,9 +100,10 @@ jobs: name: Build and push production Docker image command: | VERSION=$(git describe --tags `git rev-list --tags --max-count=1` | cut -c2-100) - docker build -t ${DOCKER_REPOSITORY}:${VERSION} . + docker build -t ${DOCKER_REPOSITORY}:${VERSION} -t ${DOCKER_REPOSITORY}:latest . docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} docker push ${DOCKER_REPOSITORY}:${VERSION} + docker push ${DOCKER_REPOSITORY}:latest - webhook/notify: endpoint: "${GITOPS_PR_WEBHOOK}"