We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf6b76d + 9f93132 commit 28dd9b5Copy full SHA for 28dd9b5
.circleci/config.yml
@@ -100,9 +100,10 @@ jobs:
100
name: Build and push production Docker image
101
command: |
102
VERSION=$(git describe --tags `git rev-list --tags --max-count=1` | cut -c2-100)
103
- docker build -t ${DOCKER_REPOSITORY}:${VERSION} .
+ docker build -t ${DOCKER_REPOSITORY}:${VERSION} -t ${DOCKER_REPOSITORY}:latest .
104
docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
105
docker push ${DOCKER_REPOSITORY}:${VERSION}
106
+ docker push ${DOCKER_REPOSITORY}:latest
107
- webhook/notify:
108
endpoint: "${GITOPS_PR_WEBHOOK}"
109
0 commit comments