Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/backend-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/pro
Submodule pro updated from b36b46 to e856e3
Loading