@@ -12,152 +12,101 @@ jobs:
1212 strategy :
1313 matrix :
1414 include :
15- - name : openrc-alpine
16- dockerfile : openrc/alpine/Dockerfile
15+ - path : openrc/alpine
1716 platforms : |-
1817 linux/amd64
1918 tags : |-
2019 jrei/openrc-alpine:latest
21- - name : aports-dev
22- dockerfile : aports-dev/Dockerfile
20+ - path : aports-dev
2321 platforms : |-
2422 linux/amd64
2523 tags : |-
2624 jrei/aports-dev:latest
27- - name : systemd-centos-7
28- dockerfile : systemd/centos/7.Dockerfile
29- platforms : |-
30- linux/amd64
31- linux/arm/v7
32- linux/arm64
25+ - path : systemd/centos
26+ version : " 7"
3327 tags : |-
3428 jrei/systemd-centos:7
35- - name : systemd- centos-8
36- dockerfile : systemd/centos/8.Dockerfile
29+ - path : systemd/ centos
30+ version : " 8 "
3731 platforms : |-
3832 linux/amd64
3933 linux/arm64
4034 tags : |-
4135 jrei/systemd-centos:8
4236 jrei/systemd-centos:latest
43- - name : systemd-debian-10
44- dockerfile : systemd/debian/10.Dockerfile
45- platforms : |-
46- linux/amd64
47- linux/arm/v7
48- linux/arm64
37+ - path : systemd/debian
4938 tags : |-
5039 jrei/systemd-debian:10
5140 jrei/systemd-debian:buster
52- - name : systemd-debian-11
53- dockerfile : systemd/debian/11.Dockerfile
54- platforms : |-
55- linux/amd64
56- linux/arm/v7
57- linux/arm64
41+ - path : systemd/debian
42+ version : " 11"
5843 tags : |-
5944 jrei/systemd-debian:11
6045 jrei/systemd-debian:bullseye
61- - name : systemd-debian-12
62- dockerfile : systemd/debian/12.Dockerfile
63- platforms : |-
64- linux/amd64
65- linux/arm/v7
66- linux/arm64
46+ - path : systemd/debian
47+ version : " 12"
6748 tags : |-
6849 jrei/systemd-debian:12
6950 jrei/systemd-debian:bookworm
7051 jrei/systemd-debian:latest
71- - name : systemd-debian-13
72- dockerfile : systemd/debian/13.Dockerfile
73- platforms : |-
74- linux/amd64
75- linux/arm/v7
76- linux/arm64
52+ - path : systemd/debian
53+ version : " trixie"
7754 tags : |-
7855 jrei/systemd-debian:13
7956 jrei/systemd-debian:trixie
80- - name : systemd-debian-sid
81- dockerfile : systemd/debian/sid.Dockerfile
82- platforms : |-
83- linux/amd64
84- linux/arm/v7
85- linux/arm64
57+ - path : systemd/debian
58+ version : " sid"
8659 tags : |-
8760 jrei/systemd-debian:sid
88- - name : systemd- fedora-latest
89- dockerfile : systemd/fedora/Dockerfile
61+ - path : systemd/ fedora
62+ version : " latest "
9063 platforms : |-
9164 linux/amd64
9265 linux/arm64
9366 tags : |-
9467 jrei/systemd-fedora:latest
95- - name : systemd- fedora-41
96- dockerfile : systemd/fedora/41.Dockerfile
68+ - path : systemd/ fedora
69+ version : " 41 "
9770 platforms : |-
9871 linux/amd64
9972 linux/arm64
10073 tags : |-
10174 jrei/systemd-fedora:41
102- - name : systemd-fedora-42
103- dockerfile : systemd/fedora/42.Dockerfile
75+ - path : systemd-fedora-42
76+ version : " 42 "
10477 platforms : |-
10578 linux/amd64
10679 linux/arm64
10780 tags : |-
10881 jrei/systemd-fedora:42
10982 jrei/systemd-fedora:latest
110- - name : systemd-ubuntu-16.04
111- dockerfile : systemd/ubuntu/16.04.Dockerfile
112- platforms : |-
113- linux/amd64
114- linux/arm/v7
115- linux/arm64
83+ - path : systemd/ubuntu
84+ version : " 16.04"
11685 tags : |-
11786 jrei/systemd-ubuntu:16.04
11887 jrei/systemd-ubuntu:xenial
119- - name : systemd-ubuntu-18.04
120- dockerfile : systemd/ubuntu/18.04.Dockerfile
121- platforms : |-
122- linux/amd64
123- linux/arm/v7
124- linux/arm64
88+ - path : systemd/ubuntu
89+ version : " 18.04"
12590 tags : |-
12691 jrei/systemd-ubuntu:18.04
12792 jrei/systemd-ubuntu:bionic
128- - name : systemd-ubuntu-20.04
129- dockerfile : systemd/ubuntu/20.04.Dockerfile
130- platforms : |-
131- linux/amd64
132- linux/arm/v7
133- linux/arm64
93+ - path : systemd/ubuntu
94+ version : " 20.04"
13495 tags : |-
13596 jrei/systemd-ubuntu:20.04
13697 jrei/systemd-ubuntu:focal
137- - name : systemd-ubuntu-22.04
138- dockerfile : systemd/ubuntu/22.04.Dockerfile
139- platforms : |-
140- linux/amd64
141- linux/arm/v7
142- linux/arm64
98+ - path : systemd/ubuntu
99+ version : " 22.04"
143100 tags : |-
144101 jrei/systemd-ubuntu:22.04
145102 jrei/systemd-ubuntu:jammy
146- - name : systemd-ubuntu-24.04
147- dockerfile : systemd/ubuntu/24.04.Dockerfile
148- platforms : |-
149- linux/amd64
150- linux/arm/v7
151- linux/arm64
103+ - path : systemd/ubuntu
104+ version : " 24.04"
152105 tags : |-
153106 jrei/systemd-ubuntu:24.04
154107 jrei/systemd-ubuntu:noble
155- - name : systemd-ubuntu-25.04
156- dockerfile : systemd/ubuntu/25.04.Dockerfile
157- platforms : |-
158- linux/amd64
159- linux/arm/v7
160- linux/arm64
108+ - path : systemd/ubuntu
109+ version : " 25.04"
161110 tags : |-
162111 jrei/systemd-ubuntu:25.04
163112 jrei/systemd-ubuntu:plucky
@@ -179,12 +128,13 @@ jobs:
179128 username : jrei
180129 password : ${{ secrets.DOCKER_HUB_TOKEN }}
181130
182- - name : Build and push ${{ matrix.name }}
183- uses : docker/build-push-action@v6
131+ - name : Build and push ${{ matrix.name }} ${{ matrix.version }}
132+ uses : docker/build-push-action@v3
184133 with :
185134 context : .
186- file : ${{ matrix.dockerfile }}
187- platforms : ${{ matrix.platforms }}
135+ build-args : ${{ matrix.version && format('VERSION={0}', matrix.version) }}
136+ file : ${{ matrix.path }}/Dockerfile
137+ platforms : ${{ matrix.platforms || 'linux/amd64,linux/arm/v7,linux/arm64' }}
188138 push : true
189139 tags : ${{ matrix.tags }}
190140 labels : |
0 commit comments