File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 37
37
# Workaround: https://github.com/docker/build-push-action/issues/461
38
38
- name : Setup Docker buildx
39
39
40
+ - uses : docker/setup-qemu-action@v2
40
41
41
42
# Login against a Docker registry except on PR
42
43
# https://github.com/docker/login-action
63
64
64
65
with :
65
66
context : .
67
+ platforms : linux/amd64,linux/arm64
66
68
push : ${{ github.event_name != 'pull_request' }}
67
69
tags : ${{ steps.meta.outputs.tags }}
68
70
labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 1
- FROM alpine AS curl
1
+ FROM --platform=$TARGETOS/$TARGETARCH alpine AS curl
2
2
3
3
# Install build dependencies
4
4
RUN apk add openssl-dev make g++ curl
@@ -15,7 +15,10 @@ RUN ./configure --with-openssl --enable-websockets
15
15
# Compile
16
16
RUN make && make install
17
17
18
- FROM alpine
18
+ FROM --platform=$TARGETOS/$TARGETARCH alpine
19
+
20
+ LABEL org.opencontainers.image.source="https://github.com/kordlib/docker"
21
+ LABEL org.opencontainers.image.licenses=MIT
19
22
20
23
# See https://youtrack.jetbrains.com/issue/KT-38876/#focus=Comments-27-4805258.0-0
21
24
RUN apk add gcompat
You can’t perform that action at this time.
0 commit comments