Schedule build
This commit is contained in:
parent
1493b24b43
commit
fade69f304
|
|
@ -5,6 +5,8 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
schedule:
|
||||||
|
- cron: '30 0,6,12,18 * * *'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
@ -32,7 +34,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
REGISTRY_CREDS: ${{ secrets.QUAY }}
|
REGISTRY_CREDS: ${{ secrets.QUAY }}
|
||||||
run: podman login -u="cgwalters+gha" -p="${REGISTRY_CREDS}" quay.io
|
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
|
# Make force triggering a build always build the image
|
||||||
- run: echo "force_initialize=1" >> $GITHUB_ENV
|
- run: echo "force_initialize=1" >> $GITHUB_ENV
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue