Schedule build

This commit is contained in:
Colin Walters 2022-12-09 16:35:59 -05:00
parent 1493b24b43
commit fade69f304
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ on:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '30 0,6,12,18 * * *'
workflow_dispatch: {}
env:
@ -32,7 +34,7 @@ jobs:
env:
REGISTRY_CREDS: ${{ secrets.QUAY }}
run: podman login -u="cgwalters+gha" -p="${REGISTRY_CREDS}" quay.io
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: github.event_name != 'pull_request'
# Make force triggering a build always build the image
- run: echo "force_initialize=1" >> $GITHUB_ENV
if: github.event_name == 'workflow_dispatch'