2026-06-23 10:18:19 +02:00

15 lines
241 B
Bash
Executable File

#!/bin/bash
set -e
VERSION=0.1.6
REPO="525595969507.dkr.ecr.eu-central-1.amazonaws.com/qwan/vendingmachine-cpp"
command=$1
case $command in
push)
docker push $REPO:$VERSION
;;
*)
docker build . -t $REPO:$VERSION
;;
esac