diff --git a/.travis/build-amd64.sh b/.travis/build-amd64.sh index 172702b..c39dc90 100755 --- a/.travis/build-amd64.sh +++ b/.travis/build-amd64.sh @@ -3,6 +3,8 @@ set -e TAG="${SLUG}:${TRAVIS_TAG:-$TRAVIS_BRANCH}-${FROM}-linux-${ARCH}" +echo "Building ${TAG} with ${PREFIX}/Dockerfile…" + if [[ "${FROM}" = "binary" ]]; then docker build --no-cache --build-arg "arch=x86_64" -t ${TAG} ${PREFIX}/ @@ -10,7 +12,6 @@ else docker build --no-cache -t ${TAG} ${PREFIX}/ fi -docker build --no-cache --build-arg "${BUILD_ARG}" -t ${TAG} ${PREFIX}/ # Push image, if tag was specified if [[ -n "${TRAVIS_TAG}" ]]; then diff --git a/.travis/build-arm.sh b/.travis/build-arm.sh index 0d94c6c..13898eb 100755 --- a/.travis/build-arm.sh +++ b/.travis/build-arm.sh @@ -14,6 +14,8 @@ chmod +x alpine-chroot-install TAG="${SLUG}:${TRAVIS_TAG:-$TRAVIS_BRANCH}-${FROM}-linux-${ARCH}" +echo "Building ${TAG} with ${PREFIX}/Dockerfile…" + if [[ "${FROM}" = "binary" ]]; then docker build --no-cache --build-arg "arch=${ARCH}" -t ${TAG} ${PREFIX}/ @@ -21,6 +23,7 @@ else docker build --no-cache -t ${TAG} ${PREFIX}/ fi + # Push image, if tag was specified if [[ -n "${TRAVIS_TAG}" ]]; then echo "${DOCKER_PASS}" | docker login -u="${DOCKER_USER}" --password-stdin