Skip to content

Commit 28dd9b5

Browse files
authored
Merge pull request #818 from reactioncommerce/feature/docker-latest
feat: added latest tag to docker images
2 parents bf6b76d + 9f93132 commit 28dd9b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,10 @@ jobs:
100100
name: Build and push production Docker image
101101
command: |
102102
VERSION=$(git describe --tags `git rev-list --tags --max-count=1` | cut -c2-100)
103-
docker build -t ${DOCKER_REPOSITORY}:${VERSION} .
103+
docker build -t ${DOCKER_REPOSITORY}:${VERSION} -t ${DOCKER_REPOSITORY}:latest .
104104
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
105105
docker push ${DOCKER_REPOSITORY}:${VERSION}
106+
docker push ${DOCKER_REPOSITORY}:latest
106107
- webhook/notify:
107108
endpoint: "${GITOPS_PR_WEBHOOK}"
108109

0 commit comments

Comments
 (0)