apparently buildx is supposed to detect the platform - lets see

This commit is contained in:
Daniel LaCosse 2021-10-15 10:16:10 -04:00
parent 83cf8a5bd6
commit c7f71d9510
No known key found for this signature in database
GPG key ID: C2F82E7AE1FBEB06

View file

@ -27,4 +27,4 @@ readonly NODE_IMAGE="node@sha256:60ad5bd37eb274a1645f505aa38aabe13996aeb4dccecb0
# Travis fails to pull the base image when using BuildKit. Seems to be related to:
# https://github.com/moby/buildkit/issues/606 and https://github.com/moby/buildkit/issues/1397
docker pull "${NODE_IMAGE}"
docker buildx build --force-rm --build-arg NODE_IMAGE="${NODE_IMAGE}" --build-arg GITHUB_RELEASE="${TRAVIS_TAG:-none}" -t "${SB_IMAGE:-outline/shadowbox}" "${ROOT_DIR}" -f src/shadowbox/docker/Dockerfile --platform linux/amd64
docker buildx build --force-rm --build-arg NODE_IMAGE="${NODE_IMAGE}" --build-arg GITHUB_RELEASE="${TRAVIS_TAG:-none}" -t "${SB_IMAGE:-outline/shadowbox}" "${ROOT_DIR}" -f src/shadowbox/docker/Dockerfile