Skip to content

Commit c282972

Browse files
authored
fix(docker-releases): trim leading v from image names (#1759)
Coordinating change for swagger-api/swagger-ui#4567.
1 parent 8130751 commit c282972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/deploy-docker-hub-tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ if [ $DOCKER_HUB_USERNAME ]; then
22
docker login --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD;
33

44
if [ ! -z "$TRAVIS_TAG" ]; then
5-
DOCKER_IMAGE_TAG=$TRAVIS_TAG;
5+
DOCKER_IMAGE_TAG=${TRAVIS_TAG#?};
66
docker build -t $DOCKER_IMAGE_NAME .;
77
docker tag $DOCKER_IMAGE_NAME $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG;
88
docker push $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG;

0 commit comments

Comments
 (0)