Use branch snapshot/nighly for icinga-php-* when building master containers

This commit is contained in:
Julian Brost 2021-09-29 14:39:25 +02:00
parent 862ab4c134
commit 7da35a127d

View File

@ -22,7 +22,9 @@ get_special () {
REF="$(get_tag)" REF="$(get_tag)"
;; ;;
*) *)
if [ -n "$BRANCH" ] && git -C dockerweb2-temp show -s --oneline "$BRANCH"; then if [ "$BRANCH" = master ] && [[ "$2" == icinga-php/* ]]; then
REF=snapshot/nightly
elif [ -n "$BRANCH" ] && git -C dockerweb2-temp show -s --oneline "$BRANCH"; then
REF="$BRANCH" REF="$BRANCH"
else else
REF="$(get_tag)" REF="$(get_tag)"