File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -44,18 +44,27 @@ jobs:
44
44
username : ${{ github.actor }}
45
45
password : ${{ secrets.GITHUB_TOKEN }}
46
46
47
+ - name : Set up QEMU
48
+ uses : docker/setup-qemu-action@v3
49
+ with :
50
+ platforms : arm64
51
+
52
+ - name : Set up Docker Buildx
53
+ uses : docker/setup-buildx-action@v3
54
+
47
55
- name : Build & push the base image to local registry
48
56
49
57
with :
50
58
context : .
51
- push : true
52
- tags : localhost:5000/ubuntu-base:latest
59
+ load : true
60
+ platforms : linux/amd64,linux/arm64
61
+ tags : ubuntu-base:latest
53
62
54
63
- name : Write the Dockerfile for the ${{ matrix.version }}-${{ matrix.arch }} runtime
55
64
run : |
56
65
cat <<EOF > ${{ matrix.version }}-${{ matrix.arch }}.Dockerfile
57
66
# syntax = docker/dockerfile:experimental
58
- FROM localhost:5000/ ubuntu-base:latest
67
+ FROM ubuntu-base:latest
59
68
RUN flatpak install -y --noninteractive appcenter io.elementary.Platform/${{ matrix.arch }}/${{ matrix.version }} io.elementary.Sdk/${{ matrix.arch }}/${{ matrix.version }}
60
69
EOF
61
70
69
78
with :
70
79
context : .
71
80
push : true
81
+ platforms : linux/amd64,linux/arm64
72
82
file : ${{ matrix.version }}-${{ matrix.arch }}.Dockerfile
73
83
tags : ghcr.io/${{ github.repository }}/runtime:${{ matrix.version }}-${{ matrix.arch }}${{ env.additional_tags }}
You can’t perform that action at this time.
0 commit comments