1
0
Fork 0

explicitly set other images to be non-default arch

This commit is contained in:
ssube 2019-11-01 05:28:47 -05:00 committed by Sean Sube
parent a19726e030
commit 29c5ae831e
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,7 @@ stages:
- docker build -f Dockerfile.${IMAGE_ARCH} -t ${IMAGE_TAG}-${IMAGE_ARCH} .
- docker push ${IMAGE_TAG}-${IMAGE_ARCH}
- |
[[ "${DEFAULT_ARCH}" = "true" ]] && \
[[ "${DEFAULT_ARCH:-false}" = "true" ]] && \
docker tag ${IMAGE_TAG}-${IMAGE_ARCH} ${IMAGE_TAG} && \
docker push ${IMAGE_TAG}
@ -66,6 +66,7 @@ stages:
variables: &vars-docker
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://localhost:2375
DEFAULT_ARCH: "false"
.build-node: &build-node
image: apextoaster/node:11.15