From 98794b3e7bd0fec32bcad5de88b0b16c83d0be87 Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Wed, 16 Jan 2019 23:58:12 -0600 Subject: [PATCH] add file specification so it doesnt repeatedly build the same one --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index b924a54..830096c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -56,7 +56,7 @@ fi # ARM variants for i in $(ls *arm*); do ARCH="$(echo ${i} | cut -d. -f2)" - docker build -t "${REPOSITORY}:${TAG}-${ARCH}" . && \ + docker build -f "Dockerfile.${ARCH}" -t "${REPOSITORY}:${TAG}-${ARCH}" . && \ docker push "${REPOSITORY}:${TAG}-${ARCH}" # Add variant to manifest docker manifest create -a "${REPOSITORY}:${TAG}" "${REPOSITORY}:${TAG}-${ARCH}"