Skip to content

Commit c3d2700

Browse files
authored
fix arm (#241)
1 parent 08d7d8c commit c3d2700

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.drone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ steps:
5757
auto_tag: true
5858
auto_tag_suffix: linux-arm
5959
dockerfile: Dockerfile.linux.arm
60+
platform: linux/arm/v7
6061
when:
6162
event: [push, tag]
6263
depends_on:
@@ -73,6 +74,7 @@ steps:
7374
auto_tag: true
7475
auto_tag_suffix: linux-arm64
7576
dockerfile: Dockerfile.linux.arm64
77+
platform: linux/arm64
7678
when:
7779
event: [push, tag]
7880
depends_on:

Dockerfile.linux.arm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM arm32v7/alpine:3.12 as alpine
22
RUN apk add -U --no-cache ca-certificates
33

44

5-
FROM arm64v8/alpine:3.12
5+
FROM arm32v7/alpine:3.12
66

77
ENV GODEBUG netdns=go
88
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

0 commit comments

Comments
 (0)