Files
DataMate/.github/workflows/docker-image-frontend.yml
Dallas98 c998de2e9d refactor: update Docker workflows to use reusable configuration and restrict branch triggers to 'main' (#15)
* refactor: update Docker workflows to use reusable configuration and restrict branch triggers to 'main'
2025-10-22 23:44:44 +08:00

28 lines
629 B
YAML

name: Frontend Docker Image CI
on:
push:
branches: [ "main" ]
paths:
- 'frontend/**'
- 'scripts/images/frontend/**'
- '.github/workflows/docker-image-frontend.yml'
pull_request:
branches: [ "main" ]
paths:
- 'frontend/**'
- 'scripts/images/frontend/**'
- '.github/workflows/docker-image-frontend.yml'
workflow_dispatch:
jobs:
call-docker-build:
name: Build and Push Frontend Docker Image
uses: ./.github/workflows/docker-images-reusable.yml
permissions:
contents: read
packages: write
with:
service_name: frontend
build_dir: .