From 9ebae4188738ab6b7d2911faa2ae38f89aeba3ad Mon Sep 17 00:00:00 2001 From: Markson Hon Date: Sun, 12 Nov 2023 17:43:37 +0800 Subject: [PATCH] test: rewrite stable docker image build 11 --- .github/workflows/release_main.yml | 2 +- install/docker/docker_helper.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index 5e1c36b27a..fe0d9c477a 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -733,7 +733,7 @@ jobs: IMAGE="mzz2017/v2raya" echo image=${IMAGE} >> $GITHUB_OUTPUT echo tag=${TAG} >> $GITHUB_OUTPUT - sed -i "s|${TAG}|Realv2rayAVersion|g" install/docker/docker_helper.sh + sed -i "s|$version|Realv2rayAVersion|g" install/docker/docker_helper.sh - name: Set up QEMU uses: docker/setup-qemu-action@v3.0.0 - name: Set up Docker Buildx diff --git a/install/docker/docker_helper.sh b/install/docker/docker_helper.sh index 9fa3c1cef7..6c5cf0602e 100644 --- a/install/docker/docker_helper.sh +++ b/install/docker/docker_helper.sh @@ -29,5 +29,7 @@ install ./v2raya_linux_"$v2raya_arch"_Realv2rayAVersion /usr/bin/v2raya mkdir /usr/local/share/v2raya ln -s /usr/local/share/v2ray /usr/local/share/v2raya ln -s /usr/local/share/xray /usr/local/share/v2raya -wget -O /usr/local/share/v2ray/LoyalsoldierSite.dat https://raw.githubusercontent.com/mzz2017/dist-v2ray-rules-dat/master/geosite.dat +wget -O /usr/local/share/v2raya/LoyalsoldierSite.dat https://raw.githubusercontent.com/mzz2017/dist-v2ray-rules-dat/master/geosite.dat +wget -O /usr/local/share/v2raya/geosite.dat https://raw.githubusercontent.com/mzz2017/dist-v2ray-rules-dat/master/geosite.dat +wget -O /usr/local/share/v2raya/geoip.dat https://raw.githubusercontent.com/mzz2017/dist-v2ray-rules-dat/master/geoip.dat cd "$current_dir" && rm -rf "$current_dir"/cache