From 5d64aae45247caa2477a3cb61ae5101b4f32eb1a Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 7 Feb 2025 01:56:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20mirror=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index 1c7cffd6607..cc652e74ee7 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -20,10 +20,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pixta-dev/repository-mirroring-action@v1 + - uses: wearerequired/git-mirror-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }} with: - target_repo_url: git@gitlab.com:whyour/qinglong.git - ssh_private_key: ${{ secrets.GITLAB_SSH_PK }} + source-repo: https://github.com/whyour/qinglong.git + destination-repo: git@gitlab.com:whyour/qinglong.git to_gitee: runs-on: ubuntu-latest @@ -31,10 +33,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pixta-dev/repository-mirroring-action@v1 + - uses: wearerequired/git-mirror-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PK }} with: - target_repo_url: git@gitee.com:whyour/qinglong.git - ssh_private_key: ${{ secrets.GITLAB_SSH_PK }} + source-repo: https://github.com/whyour/qinglong.git + destination-repo: git@gitee.com:whyour/qinglong.git build-static: runs-on: ubuntu-latest