getting-started/build.sh
Tjolk ca2c026233 Stashed Changes
Commit stashed changes
2021-04-16 10:57:59 +02:00

15 lines
253 B
Bash

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