From e945ed70454a9cd267b13b557b158127334e5743 Mon Sep 17 00:00:00 2001 From: Yves Jacolin Date: Sat, 9 Apr 2016 18:45:10 +0200 Subject: [PATCH] Update build command to rename images --- .build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.build.sh b/.build.sh index 6605593..67af46d 100755 --- a/.build.sh +++ b/.build.sh @@ -1,13 +1,13 @@ #!/bin/bash -e if [ "$TRAVIS_BRANCH" == "master" ]; then echo "Building image with tag latest" - docker build -t yjacolin/docker-mapcache:latest . + docker build -t yjacolin/mapcache:latest . elif [ ! -z "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo "Building image with tag ${TRAVIS_TAG}" - docker build -t yjacolin/docker-mapcache:$TRAVIS_TAG . + docker build -t yjacolin/mapcache:$TRAVIS_TAG . elif [ ! -z "$TRAVIS_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo "Building image with tag ${TRAVIS_BRANCH}" - docker build -t yjacolin/docker-mapcache:$TRAVIS_BRANCH . + docker build -t yjacolin/mapcache:$TRAVIS_BRANCH . else echo "Don't know how to build image" exit 1