diff --git a/.travis/build-amd64.sh b/.travis/build-amd64.sh index c39dc90..073097d 100755 --- a/.travis/build-amd64.sh +++ b/.travis/build-amd64.sh @@ -6,10 +6,10 @@ 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}/ + docker build --no-cache --build-arg "arch=x86_64" -t ${TAG} ${PREFIX}/${FROM}/ else - docker build --no-cache -t ${TAG} ${PREFIX}/ + docker build --no-cache -t ${TAG} ${PREFIX}/${FROM}/ fi diff --git a/.travis/build-arm.sh b/.travis/build-arm.sh index 13898eb..85eaaef 100755 --- a/.travis/build-arm.sh +++ b/.travis/build-arm.sh @@ -17,10 +17,10 @@ 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}/ + docker build --no-cache --build-arg "arch=${ARCH}" -t ${TAG} ${PREFIX}/${FROM}/ else - docker build --no-cache -t ${TAG} ${PREFIX}/ + docker build --no-cache -t ${TAG} ${PREFIX}/${FROM}/ fi