Skip to content

Commit c32e48d

Browse files
committed
Improve CI add build_parents input
1 parent 56f012f commit c32e48d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: docker
33
on:
44
push:
55
workflow_dispatch:
6+
inputs:
7+
build_parents:
8+
description: 'Build parents images'
9+
type: boolean
610
schedule:
711
- cron: '0 12 * * *'
812

@@ -17,4 +21,5 @@ jobs:
1721
- env:
1822
DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }}
1923
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
24+
BUILD_PARENTS: ${{ github.event.inputs.build_parents }}
2025
run: bash ./run github:build_and_push

0 commit comments

Comments
 (0)