fix paths to Dockerfiles

This commit is contained in:
Damian Mee 2019-05-04 00:03:18 +07:00
parent 6d111bd21d
commit f3e08b5dbf
No known key found for this signature in database
GPG Key ID: 2F961EAB8789725D
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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