File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,22 @@ jobs:
40
40
username : ${{ github.actor }}
41
41
password : ${{ secrets.GITHUB_TOKEN }}
42
42
43
+ - name : Set up QEMU
44
+ uses : docker/setup-qemu-action@v3
45
+ with :
46
+ platforms : arm64
47
+
48
+ - name : Set up Docker Buildx
49
+ uses : docker/setup-buildx-action@v3
50
+ with :
51
+ driver-opts : network=host
52
+
43
53
- name : Build & push the base image to local registry
44
54
45
55
with :
46
56
context : .
47
57
push : true
58
+ platforms : linux/amd64,linux/arm64
48
59
tags : localhost:5000/ubuntu-base:latest
49
60
50
61
- name : Write the Dockerfile for the ${{ matrix.version }}-${{ matrix.arch }} runtime
65
76
with :
66
77
context : .
67
78
push : true
79
+ platforms : linux/amd64,linux/arm64
68
80
file : ${{ matrix.version }}-${{ matrix.arch }}.Dockerfile
69
81
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