Skip to content

Commit

Permalink
test: rewrite stable docker image build 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Markson Hon committed Nov 12, 2023
1 parent 561d0cb commit 9ebae41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- name: Set up Docker Buildx
Expand Down
4 changes: 3 additions & 1 deletion install/docker/docker_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9ebae41

Please sign in to comment.