Skip to content

Commit

Permalink
fix(docker-releases): trim leading v from image names (#1759)
Browse files Browse the repository at this point in the history
Coordinating change for swagger-api/swagger-ui#4567.
  • Loading branch information
shockey authored May 17, 2018
1 parent 8130751 commit c282972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-tools/deploy-docker-hub-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ if [ $DOCKER_HUB_USERNAME ]; then
docker login --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD;

if [ ! -z "$TRAVIS_TAG" ]; then
DOCKER_IMAGE_TAG=$TRAVIS_TAG;
DOCKER_IMAGE_TAG=${TRAVIS_TAG#?};
docker build -t $DOCKER_IMAGE_NAME .;
docker tag $DOCKER_IMAGE_NAME $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG;
docker push $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG;
Expand Down

0 comments on commit c282972

Please sign in to comment.