workflow_dispatch

This commit is contained in:
Samuel Huang
2024-09-25 17:02:18 +10:00
parent 9e1b792412
commit 28d5ca803a
3 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
name: docker-buildx-dev
on:
workflow_dispatch:
push:
branches:
- dev

View File

@@ -1,6 +1,7 @@
name: docker-buildx-latest
on:
workflow_dispatch:
push:
branches:
- master

3
run.sh
View File

@@ -172,7 +172,7 @@ Jroot=`echo $Jroot|jq --argjson JibDNS "${JibDNS}" --argjson JibSOCKS "${JibSOCK
# Add routing config
Jrouting='{"routing":{"domainStrategy":"AsIs"}}'
Jrouting=`echo "${Jrouting}" |jq --argjson jrules "${Jrules}" '.routing += $jrules'`
Jrouting=`echo "${Jrouting}" |jq --argjson Jrules "${Jrules}" '.routing += $Jrules'`
Jroot=`echo $Jroot|jq --argjson Jrouting "${Jrouting}" '.routing += $Jrouting'`
# Add debug config
@@ -189,6 +189,7 @@ if [ -n "${INJECT}" ]; then
done
fi
# Add Dnsmasq config
if [ -n "${DNSLOCAL}" ]; then
for dnslocal in "${DNSLOCAL[@]}"
do