Files
DataMate/.github/workflows/docker-image-backend-python.yml
hhhhsc701 f78475e29f Develop hsc (#58)
feature: 优化镜像构建/部署
2025-11-06 17:14:54 +08:00

28 lines
671 B
YAML

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: .