-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (40 loc) · 1.12 KB
/
update-images.yml
File metadata and controls
47 lines (40 loc) · 1.12 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
---
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@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install pip3
run: pip3 install tox
- name: Update ${{ matrix.image }} images
uses: technote-space/create-pr-action@v2
with:
EXECUTE_COMMANDS: |
tox -e update -- --dry-run --name ${{ matrix.image }}
COMMIT_EMAIL: 'bot@osism.tech'
COMMIT_MESSAGE: |
chore: update ${{ matrix.image }} images
Signed-off-by: OSISM Bot <bot@osism.tech>
COMMIT_NAME: "OSISM Bot"
ONLY_DEFAULT_BRANCH: true
PR_BRANCH_NAME: "update-${{ matrix.image }}-images"
PR_BRANCH_PREFIX: "chore/"
PR_TITLE: "chore: update ${{ matrix.image }} images"