File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,17 @@ jobs:
38
38
permissions :
39
39
contents : read
40
40
packages : write
41
+ strategy :
42
+ fail-fast : false # do not cancel even if any platform fails.
43
+ matrix :
44
+ platform : [linux/amd64,linux/arm64]
41
45
steps :
42
46
- name : Git checkout
43
47
uses : actions/checkout@v3
44
48
- name : Enable buildx
45
- uses : docker/setup-buildx-action@v2
49
+ uses : docker/setup-buildx-action@v3
50
+ - name : Set up QEMU
51
+ uses : docker/setup-qemu-action@v3
46
52
47
53
- name : Log in to the GitHub Container registry
48
54
uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
59
65
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
60
66
with :
61
67
context : .
68
+ platforms : ${{ matrix.platform }}
62
69
push : true
63
70
tags : ${{ steps.meta_gh.outputs.tags }}
64
71
labels : ${{ steps.meta_gh.outputs.labels }}
78
85
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
79
86
with :
80
87
context : .
88
+ platforms : ${{ matrix.platform }}
81
89
push : true
82
90
tags : ${{ steps.meta_dh.outputs.tags }}
83
91
labels : ${{ steps.meta_dh.outputs.labels }}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN apt-get update \
6
6
&& apt-get install -y \
7
7
nano python3-pip python3-mock libpython3-dev \
8
8
libpython3-all-dev python-is-python3 wget curl cmake \
9
- software-properties-common sudo \
9
+ software-properties-common sudo pkg-config libhdf5-dev \
10
10
&& sed -i 's/# set linenumbers/set linenumbers/g' /etc/nanorc \
11
11
&& apt clean \
12
12
&& rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments