Skip to content

Commit

Permalink
chore: Remove version- prefix from docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor authored Aug 3, 2021
1 parent 52fc861 commit 6b55174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
name: Publish Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
IMAGE_TAG=version-${CIRCLE_TAG/v/''}
IMAGE_TAG=${CIRCLE_TAG/v/''}
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG
docker push $IMAGE_NAME:latest
docker push $IMAGE_NAME:$IMAGE_TAG
Expand All @@ -97,7 +97,7 @@ jobs:
name: Publish Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
IMAGE_TAG=version-${CIRCLE_TAG/v/''}
IMAGE_TAG=${CIRCLE_TAG/v/''}
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG
docker push $IMAGE_NAME:$IMAGE_TAG
Expand Down Expand Up @@ -132,4 +132,4 @@ workflows:
tags:
only: /^v\d+\.\d+\.\d+-.*$/
branches:
ignore: /.*/
ignore: /.*/

0 comments on commit 6b55174

Please sign in to comment.