2020-06-08 17:22:18 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
REPO=seanauff
|
|
|
|
IMAGE=octoprint-klipper
|
|
|
|
PLATFORMS="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64"
|
|
|
|
|
|
|
|
docker context use x86_64
|
|
|
|
export DOCKER_CLI_EXPERIMENTAL="enabled"
|
|
|
|
docker buildx use multiarch-builder
|
|
|
|
|
|
|
|
# Build & push latest
|
2020-07-08 13:37:58 +00:00
|
|
|
docker buildx build -t ${REPO}/${IMAGE}:latest --pull --no-cache --compress --push --platform "${PLATFORMS}" .
|