mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-09 08:05:08 +02:00
Only build the master branch to speed up the test
This commit is contained in:
committed by
Christian Mäder
parent
d0c9dfe2e5
commit
fadac8c5c3
@ -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'."
|
||||
|
Reference in New Issue
Block a user