add file specification so it doesnt repeatedly build the same one
This commit is contained in:
parent
502fd819a3
commit
98794b3e7b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ fi
|
||||||
# ARM variants
|
# ARM variants
|
||||||
for i in $(ls *arm*); do
|
for i in $(ls *arm*); do
|
||||||
ARCH="$(echo ${i} | cut -d. -f2)"
|
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}"
|
docker push "${REPOSITORY}:${TAG}-${ARCH}"
|
||||||
# Add variant to manifest
|
# Add variant to manifest
|
||||||
docker manifest create -a "${REPOSITORY}:${TAG}" "${REPOSITORY}:${TAG}-${ARCH}"
|
docker manifest create -a "${REPOSITORY}:${TAG}" "${REPOSITORY}:${TAG}-${ARCH}"
|
||||||
|
|
Loading…
Reference in a new issue