From df3e20953429548be08c6607e859ae71839dd61a Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 17 Nov 2022 11:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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