chore: Remove `version-` prefix from docker tags

This commit is contained in:
Tom Moor 2021-08-03 14:23:14 -07:00 committed by GitHub
parent 52fc861bcf
commit 6b551749d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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
@ -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
@ -132,4 +132,4 @@ workflows:
tags:
only: /^v\d+\.\d+\.\d+-.*$/
branches:
ignore: /.*/
ignore: /.*/