Skip to content

Update list of images #427

Update list of images

Update list of images #427

Workflow file for this run

name: Update list of images
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * *"
jobs:
update:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Latest branches
- { branch: master, channel: latest/edge }
# Stable branches
- { branch: 1.26, channel: 1.26 }
- { branch: 1.25, channel: 1.25 }
- { branch: 1.24, channel: 1.24 }
- { branch: 1.23, channel: 1.23 }
- { branch: 1.22, channel: 1.22 }
# Stable strict branches
- { branch: 1.26-strict, channel: 1.26-strict }
- { branch: 1.25-strict, channel: 1.25-strict }
# EKSD branches
- { branch: 1.24-eksd, channel: 1.24-eksd }
- { branch: 1.23-eksd, channel: 1.23-eksd }
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ matrix.branch }}
- name: Update image list
run: |
./build-scripts/update-images.sh ${{ matrix.channel }} build-scripts/images.txt
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
commit-message: update list of images used by ${{ matrix.channel }}
title: "[${{ matrix.channel }}] Update MicroK8s images"
body: update list of images used by ${{ matrix.channel }}
reviewers: neoaggelos,ktsakalozos
branch: auto-update-images/${{ matrix.branch }}
delete-branch: true
base: ${{ matrix.branch }}