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 af1bdcc commit d7040d0
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,4 +21,5 @@ jobs:
- env:
DOCKER_LOGIN: ${{ secrets.DOCKER_LOGIN }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BUILD_PARENTS: ${{ github.event.inputs.build_parents }}
run: bash ./run github:build_and_push

0 comments on commit d7040d0

Please sign in to comment.