build: Fail fast
This commit is contained in:
parent
e82eeef365
commit
8bb78bfd3a
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
[ -z "$1" ] && exit 1
|
[ -z "$1" ] && exit 1
|
||||||
|
|
||||||
docker build $1 -t gitea.angry.im/petercxy/$1:latest
|
docker build $1 -t gitea.angry.im/petercxy/$1:latest
|
||||||
|
|
Loading…
Reference in a new issue