Skip to content

Update list of images #695

Update list of images

Update list of images #695

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.30", channel: "1.30" }
- { branch: "1.29", channel: "1.29" }
- { branch: "1.28", channel: "1.28" }
- { branch: "1.27", channel: "1.27" }
# Stable strict branches
- { branch: 1.30-strict, channel: 1.30-strict }
- { branch: 1.29-strict, channel: 1.29-strict }
- { branch: 1.28-strict, channel: 1.28-strict }
- { branch: 1.27-strict, channel: 1.27-strict }
steps:
- name: Checkout
uses: actions/checkout@v4
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@v5
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 }}