Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ env:
on:
# push:
pull_request:
schedule:
# Rebuild the branch containers weekly so they do not drift away
# from the published feeds; see the dispatch job below.
- cron: "30 2 * * 1"
workflow_dispatch:
inputs:
ref:
Expand All @@ -28,9 +32,25 @@ on:
required: false

jobs:
dispatch-scheduled-rebuilds:
name: Dispatch scheduled rebuilds
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
permissions:
actions: write
steps:
- name: Trigger a run for each maintained branch
run: |
for ref in main openwrt-24.10 openwrt-25.12; do
gh workflow run containers.yml --repo "$GITHUB_REPOSITORY" -f ref="$ref"
done
env:
GH_TOKEN: ${{ github.token }}

generate_matrix:
name: Set matrix
runs-on: ubuntu-latest
if: github.event_name != 'schedule'

outputs:
imagebuilders: ${{ steps.find_targets.outputs.imagebuilders }}
Expand Down
Loading