build: Fail fast

This commit is contained in:
Peter Cai 2022-10-15 17:04:35 -04:00
parent e82eeef365
commit 8bb78bfd3a
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e
[ -z "$1" ] && exit 1
docker build $1 -t gitea.angry.im/petercxy/$1:latest