-
Notifications
You must be signed in to change notification settings - Fork 23
51 lines (42 loc) · 1.22 KB
/
update-images.yml
File metadata and controls
51 lines (42 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
name: Update images
"on":
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
update-images:
runs-on: ubuntu-latest
strategy:
matrix:
image:
- almalinux
- centos
- debian
- rockylinux
- ubuntu
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install pip3
run: pip3 install tox
- name: Update images
run: tox -e update -- --dry-run --name ${{ matrix.image }}
- name: Create pull request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: |
chore: update ${{ matrix.image }} images
Signed-off-by: OSISM Bot <bot@osism.tech>
committer: OSISM Bot <bot@osism.tech>
branch: updates-images-${{ github.run_number }}-${{ matrix.image }}
delete-branch: true
title: "chore: update ${{ matrix.image }} images"
body: |
chore: update ${{ matrix.image }} images
Signed-off-by: OSISM Bot <bot@osism.tech>