From 5682d15995cf0d7f1b1c0a3cde98fac825de70f7 Mon Sep 17 00:00:00 2001 From: Hommy <16620803786@163.com> Date: Thu, 23 Apr 2026 20:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B5=81=E6=B0=B4=E7=BA=BF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dev.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index db5ca35..4cb69b9 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -71,10 +71,9 @@ jobs: images: | ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_REPO }} tags: | - type=ref,event=branch type=ref,event=tag type=sha,format=short - type=raw,value=latest,enable={{is_default_branch}} + type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }} # 调试步骤:检查生成的标签 - name: 显示生成的镜像标签