diff --git a/.travis.yml b/.travis.yml index b67f54f47..b04e4bd62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,6 @@ script: - docker build -t $REPO:$COMMIT-$ARCH -f Dockerfile.$ARCH . after_success: - docker login -u $DOCKER_USER -p $DOCKER_PASS -- if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT $REPO:latest; fi +- if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT-$ARCH $REPO:latest; fi - docker tag $REPO:$COMMIT-$ARCH $REPO:$ARCH-latest - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker push $REPO; fi