Commit 03a1ea6 1 parent 096239c commit 03a1ea6 Copy full SHA for 03a1ea6
File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 21
21
jobs :
22
22
# This workflow contains a single job called "build"
23
23
build :
24
+ strategy :
25
+ matrix :
26
+ platform : [ linux/amd64, linux/arm64 ]
27
+ include :
28
+ - platform : linux/amd64
29
+ runs_on : ubuntu-latest
30
+ - platform : linux/arm64
31
+ runs_on : ubuntu-24.04-arm
24
32
# The type of runner that the job will run on
25
- runs-on : ubuntu-latest
33
+ runs-on : ${{ matrix.runs_on }}
26
34
27
35
# Steps represent a sequence of tasks that will be executed as part of the job
28
36
steps :
29
37
- uses : actions/checkout@v3
30
-
31
- - name : Setup QEMU
32
- uses : docker/setup-qemu-action@v3
33
-
38
+
34
39
- name : Setup Docker Buildx
35
40
uses : docker/setup-buildx-action@v3
36
41
81
86
push : ${{ github.event_name != 'pull_request' }}
82
87
tags : ${{ steps.meta.outputs.tags }}
83
88
labels : ${{ steps.meta.outputs.labels }}
84
- platforms : linux/amd64,linux/arm64
89
+ platforms : ${{ matrix.platform }}
85
90
86
91
- name : Build and push Systemd Docker images
87
92
id : build-and-push-systemd
92
97
push : ${{ github.event_name != 'pull_request' }}
93
98
tags : ${{ steps.metasysd.outputs.tags }}
94
99
labels : ${{ steps.metasysd.outputs.labels }}
95
- platforms : linux/amd64,linux/arm64
100
+ platforms : ${{ matrix.platform }}
You can’t perform that action at this time.
0 commit comments