File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,18 @@ name: Docker images
88jobs :
99 build-images :
1010 name : Build & push Docker images
11- runs-on : ubuntu-22.04
11+ runs-on : ubuntu-${{ matrix.config.run-version }}
1212
1313 strategy :
1414 matrix :
15+ config :
16+ - arch : x86_64
17+ run-version : 24.04
18+ platform : linux/amd64
19+ - arch : aarch64
20+ run-version : 24.04-arm
21+ platform : linux/arm/v8
22+
1523 runtime :
1624 - name : freedesktop-20.08
1725 packages : org.freedesktop.Platform//20.08 org.freedesktop.Sdk//20.08
@@ -144,9 +152,9 @@ jobs:
144152145153 with :
146154 path : /tmp/.buildx-cache
147- key : ${{ runner.os }}-buildx-${{ github.sha }}
155+ key : ${{ runner.os }}-${{ matrix.config.arch }}- buildx-${{ github.sha }}
148156 restore-keys : |
149- ${{ runner.os }}-buildx-
157+ ${{ runner.os }}-${{ matrix.config.arch }}- buildx-
150158
151159 - name : Build & push the Fedora base image to local registry
152160@@ -181,3 +189,4 @@ jobs:
181189 file : ${{ matrix.runtime.name }}.Dockerfile
182190 push : true
183191 tags : bilelmoussaoui/flatpak-github-actions:${{ matrix.runtime.name }}
192+ platforms : ${{ matrix.config.platform }}
You can’t perform that action at this time.
0 commit comments