diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index 707dd4c7..dc483780 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -80,8 +80,8 @@ jobs: export GIT_SSH_COMMAND="ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -l git" git remote add gitee "${REPO_GITEE}" git remote add gitlab "${REPO_GITLAB}" - git push --tags --force --prune gitee "refs/remotes/origin/*:refs/heads/*" - git push --tags --force --prune gitlab "refs/remotes/origin/*:refs/heads/*" + git push --force --quiet gitee ${GITHUB_BRANCH}:${GITHUB_BRANCH} + git push --force --quiet gitlab ${GITHUB_BRANCH}:${GITHUB_BRANCH} build: needs: build-static