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