File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010
11+ - uses : docker/setup-buildx-action@v1
12+
1113 - name : Build
1214 run : |
1315 curl --fail --location --silent --output bob https://function61.com/go/turbobob-latest-stable-linux-amd64 && chmod +x bob
Original file line number Diff line number Diff line change 11FROM ubuntu:latest
22
3+ # can't have default values here, otherwise they'd overwrite the buildx-supplied ones
4+ ARG TARGETOS
5+ ARG TARGETARCH
6+
37RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y \
48 xvfb \
59 x11vnc \
@@ -36,4 +40,4 @@ ADD misc/menu.xml /etc/xdg/openbox/
3640
3741CMD ["/usr/local/bin/screen-server" , "run" ]
3842
39- ADD rel/screen-server_linux-amd64 /usr/local/bin/screen-server
43+ ADD rel/screen-server_linux-$TARGETARCH /usr/local/bin/screen-server
Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "os_arches" : {
19- "linux-amd64" : true
19+ "linux-amd64" : true ,
20+ "linux-arm64" : true ,
21+ "linux-arm" : true
2022 },
2123 "docker_images" : [
2224 {
2325 "image" : " fn61/screen-server" ,
24- "dockerfile_path" : " Dockerfile"
26+ "dockerfile_path" : " Dockerfile" ,
27+ "platforms" : [" linux/amd64" , " linux/arm64" , " linux/arm/v7" ]
2528 }
2629 ]
2730}
You can’t perform that action at this time.
0 commit comments