File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,22 @@ 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
+ with :
55
+ driver-opts : network=host
56
+
47
57
- name : Build & push the base image to local registry
48
58
49
59
with :
50
60
context : .
51
- push : true
61
+ load : true
62
+ platforms : linux/amd64,linux/arm64
52
63
tags : localhost:5000/ubuntu-base:latest
53
64
54
65
- name : Write the Dockerfile for the ${{ matrix.version }}-${{ matrix.arch }} runtime
69
80
with :
70
81
context : .
71
82
push : true
83
+ platforms : linux/amd64,linux/arm64
72
84
file : ${{ matrix.version }}-${{ matrix.arch }}.Dockerfile
73
85
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