Skip to content

Commit

Permalink
Improve CI add build_parents input
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Mar 13, 2024
1 parent e94267c commit c7da441
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: docker
on:
push:
workflow_dispatch:
inputs:
build_parents:
description: 'Build parents images'
type: boolean
schedule:
- cron: '0 12 * * *'

Expand All @@ -17,5 +21,6 @@ jobs:
- env:
DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BUILD_PARENTS: ${{ github.event.inputs.build_parents }}
DOCKER_PLATFORM: linux/amd64
run: bash ./run github:build_and_push

0 comments on commit c7da441

Please sign in to comment.