mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-30 21:10:44 +00:00
Schedule build
This commit is contained in:
parent
1493b24b43
commit
fade69f304
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue