Only build the master branch to speed up the test

This commit is contained in:
Christian Mäder 2019-10-10 14:48:45 +02:00 committed by Christian Mäder
parent d0c9dfe2e5
commit fadac8c5c3
2 changed files with 23 additions and 5 deletions

View file

@ -31,8 +31,10 @@ run_build() {
./build-branches.sh $@
;;
this) # Pull Requests
# build all branches, but never push
./build-branches.sh
# only build the 'master' branch
# (resulting in the 'latest' docker tag)
# and the 'main' target.
DOCKER_TARGET=main ./build.sh master
;;
*)
echo "🚨 Unrecognized build '$BUILD'."