diff --git a/builder/image-build.sh b/builder/image-build.sh index 8d7e6e0b..8f3b44cb 100755 --- a/builder/image-build.sh +++ b/builder/image-build.sh @@ -80,6 +80,7 @@ img-resize ${IMAGE_PATH} max '5G' if [[ ! -z ${TRAVIS_TAG} ]]; then cd ${REPO_DIR} echo_stamp "Checkout to origin/pinnochio from ${TRAVIS_TAG}" "INFO" + git fetch git checkout --track origin/pinnochio cd / fi