enable arm32
This commit is contained in:
parent
cfe899d1bd
commit
88b277aeda
39
.drone.yml
39
.drone.yml
@ -17,8 +17,6 @@ pipeline:
|
||||
image: plugins/docker
|
||||
dockerfile: docker/Dockerfile.linux.amd64
|
||||
repo: drone/git
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
secrets:
|
||||
- docker_username
|
||||
- docker_password
|
||||
@ -71,3 +69,40 @@ secrets:
|
||||
docker_password:
|
||||
external:
|
||||
name: drone/docker#password
|
||||
|
||||
---
|
||||
metadata:
|
||||
name: linux-arm
|
||||
|
||||
platform:
|
||||
name: linux/arm
|
||||
|
||||
pipeline:
|
||||
- test:
|
||||
image: arm32v7/golang:1.10.3
|
||||
commands:
|
||||
- cd posix
|
||||
- tar -xf fixtures.tar -C /
|
||||
- go test -v
|
||||
|
||||
- publish:
|
||||
image: plugins/docker:linux-arm
|
||||
dockerfile: docker/Dockerfile.linux.arm
|
||||
repo: drone/git
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
secrets:
|
||||
- docker_username
|
||||
- docker_password
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
|
||||
secrets:
|
||||
docker_username:
|
||||
external:
|
||||
name: drone/docker#username
|
||||
docker_password:
|
||||
external:
|
||||
name: drone/docker#password
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.6
|
||||
FROM arm32v6/alpine:3.6
|
||||
RUN apk add --no-cache ca-certificates git openssh curl perl
|
||||
|
||||
ADD posix/* /usr/local/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user