mirror of
https://github.com/drone/drone-cli.git
synced 2024-05-25 08:16:02 +02:00
fix arm (#241)
This commit is contained in:
parent
08d7d8c803
commit
c3d270032b
|
@ -57,6 +57,7 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm
|
auto_tag_suffix: linux-arm
|
||||||
dockerfile: Dockerfile.linux.arm
|
dockerfile: Dockerfile.linux.arm
|
||||||
|
platform: linux/arm/v7
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -73,6 +74,7 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64
|
auto_tag_suffix: linux-arm64
|
||||||
dockerfile: Dockerfile.linux.arm64
|
dockerfile: Dockerfile.linux.arm64
|
||||||
|
platform: linux/arm64
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
@ -2,7 +2,7 @@ FROM arm32v7/alpine:3.12 as alpine
|
||||||
RUN apk add -U --no-cache ca-certificates
|
RUN apk add -U --no-cache ca-certificates
|
||||||
|
|
||||||
|
|
||||||
FROM arm64v8/alpine:3.12
|
FROM arm32v7/alpine:3.12
|
||||||
|
|
||||||
ENV GODEBUG netdns=go
|
ENV GODEBUG netdns=go
|
||||||
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
|
|
Loading…
Reference in New Issue