From 33789caac63d74c4c040a18665cdf607ccd7df05 Mon Sep 17 00:00:00 2001 From: yokowu <18836617@qq.com> Date: Wed, 27 Aug 2025 12:02:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20scanner=20=E6=94=B9=E4=B8=BA=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-ci-cd.yml | 11 +++++++++++ backend/pro | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend-ci-cd.yml b/.github/workflows/backend-ci-cd.yml index fcaeb32..a3f21b5 100644 --- a/.github/workflows/backend-ci-cd.yml +++ b/.github/workflows/backend-ci-cd.yml @@ -13,6 +13,16 @@ on: paths: - 'backend/**' - '.github/workflows/backend-ci-cd.yml' + workflow_dispatch: # 添加手动触发 + inputs: + build_scanner: + description: '是否构建 Scanner 镜像' + required: false + default: 'false' + type: choice + options: + - 'true' + - 'false' env: REGISTRY: chaitin-registry.cn-hangzhou.cr.aliyuncs.com/monkeycode @@ -134,6 +144,7 @@ jobs: cache-to: type=gha,mode=max - name: Build and push multi-arch scanner image + if: github.event.inputs.build_scanner == 'true' uses: docker/build-push-action@v5 with: context: ./backend diff --git a/backend/pro b/backend/pro index b36b467..e856e35 160000 --- a/backend/pro +++ b/backend/pro @@ -1 +1 @@ -Subproject commit b36b4678f126d18b23e267e40442c2a3ee09a41b +Subproject commit e856e35eb776aa859addf5c71cccfca9957f4b7f