From f3e08b5dbffdd40b1bb5e0f7be6d248dbbc94ab0 Mon Sep 17 00:00:00 2001 From: Damian Mee Date: Sat, 4 May 2019 00:03:18 +0700 Subject: [PATCH] fix paths to Dockerfiles --- .travis/build-amd64.sh | 4 ++-- .travis/build-arm.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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