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 name: docker-buildx-dev
on: on:
workflow_dispatch:
push: push:
branches: branches:
- dev - dev

View File

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

3
run.sh
View File

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