From 7accb7ab9a31127b997d32ddf5c1affd9327d4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=92=E7=88=BD=E5=B8=88=E5=8F=94?= <43847794+vlssu@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E8=87=AA=E5=8A=A8=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Text_replace.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/Text_replace.yml diff --git a/.github/workflows/Text_replace.yml b/.github/workflows/Text_replace.yml new file mode 100644 index 000000000..adac5886a --- /dev/null +++ b/.github/workflows/Text_replace.yml @@ -0,0 +1,32 @@ +name: 文本替换 + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Find and Replace 1 + uses: thiagodnf/string-replacer@v1.0.2 + with: + find: "ghcr.io\\/parkervcp" + replace: "registry.cn-shanghai.aliyuncs.com\\/pterodactyl-images" + include: | + **/*.json + + - name: Find and Replace 2 + uses: thiagodnf/string-replacer@v1.0.2 + with: + find: "ghcr.io\\/pterodactyl" + replace: "registry.cn-shanghai.aliyuncs.com\\/pterodactyl-china" + include: | + **/*.json + + - name: Find and Replace 3 + uses: thiagodnf/string-replacer@v1.0.2 + with: + find: "quay.io" + replace: "quay.dockerproxy.com" + include: | + **/*.json \ No newline at end of file