Skip to content

Commit c03c88e

Browse files
author
wimo7083
committed
Fix publish in build.
1 parent ff9c63a commit c03c88e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ source "${SCRIPTDIR}/../lib/util.sh"
66

77
echo "Building Docker image..."
88
runCommand "docker build -t $IMAGE_NAME -f docker/Dockerfile ." || exit $?
9-
echo "Pushing image $IMAGE_NAME:$TRAVIS_BRANCH"
109

bin/publish

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ if [ -n "$DOCKER_USERNAME" ] && [ -n "$DOCKER_PASSWORD" ]; then
1818
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
1919
fi
2020

21+
echo "Pushing image $IMAGE_NAME:$TRAVIS_BRANCH"
2122
docker tag $IMAGE_ID $DOCKER_REPO
2223
docker tag $IMAGE_ID ${DOCKER_REPO}:${TRAVIS_BUILD_NUMBER}
2324
docker push $DOCKER_REPO
24-
docker push ${DOCKER_REPO}:${TRAVIS_BUILD_NUMBER}
25+
docker push ${DOCKER_REPO}:${TRAVIS_BUILD_NUMBEdk R}

0 commit comments

Comments
 (0)