getting-started/build.sh
Stefan Scherer 4b70b63089
Update mkdocs-material, better dark mode for code blocks
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-06-26 15:48:28 +02:00

15 lines
281 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" == "--push" ]; then
WILL_PUSH=1
else
WILL_PUSH=0
fi
docker buildx build \
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
-t docker/getting-started:latest \
$( (( $WILL_PUSH == 1 )) && printf %s '--push' ) .