Develop hsc (#58)

feature: 优化镜像构建/部署
This commit is contained in:
hhhhsc701
2025-11-06 17:14:54 +08:00
committed by GitHub
parent d84152b45f
commit f78475e29f
27 changed files with 540 additions and 304 deletions

View File

@@ -0,0 +1,27 @@
name: Python Backend Docker Image CI
on:
push:
branches: [ "main" ]
paths:
- 'backend/**'
- 'scripts/images/datamate-python/**'
- '.github/workflows/docker-image-backend-python.yml'
pull_request:
branches: [ "main" ]
paths:
- 'backend/**'
- 'scripts/images/datamate-python/**'
- '.github/workflows/docker-image-backend-python.yml'
workflow_dispatch:
jobs:
call-docker-build:
name: Build and Push Backend Python Docker Image
uses: ./.github/workflows/docker-images-reusable.yml
permissions:
contents: read
packages: write
with:
service_name: backend-python
build_dir: .