2023-07-14 20:29:00 +00:00
|
|
|
name: Builder Image
|
2023-07-14 19:14:25 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-07-14 20:29:00 +00:00
|
|
|
paths:
|
|
|
|
- 'docker/**'
|
2023-07-14 19:14:25 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-image:
|
|
|
|
if: github.event_name == 'pull_request'
|
|
|
|
uses: ./.github/workflows/image-builder-template.yaml
|
|
|
|
with:
|
|
|
|
push: false
|
|
|
|
|
|
|
|
push-image:
|
|
|
|
if: github.event_name == 'workflow_dispatch'
|
|
|
|
uses: ./.github/workflows/image-builder-template.yaml
|
|
|
|
with:
|
|
|
|
push: true
|