Skip to content

Commit

Permalink
Merge pull request #818 from reactioncommerce/feature/docker-latest
Browse files Browse the repository at this point in the history
feat: added latest tag to docker images
  • Loading branch information
zenweasel committed Mar 28, 2022
2 parents bf6b76d + 9f93132 commit 28dd9b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 28dd9b5

Please sign in to comment.