You've already forked DataMate
27 lines
646 B
YAML
27 lines
646 B
YAML
name: Python Backend Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'scripts/images/datamate-python/**'
|
|
- '.github/workflows/docker-image-backend-python.yml'
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'scripts/images/datamate-python/**'
|
|
- '.github/workflows/docker-image-backend-python.yml'
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
|
|
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: .
|