enable arm32

This commit is contained in:
Brad Rydzewski 2018-08-09 10:05:17 -07:00
parent cfe899d1bd
commit 88b277aeda
2 changed files with 38 additions and 3 deletions

View File

@ -17,8 +17,6 @@ pipeline:
image: plugins/docker image: plugins/docker
dockerfile: docker/Dockerfile.linux.amd64 dockerfile: docker/Dockerfile.linux.amd64
repo: drone/git repo: drone/git
auto_tag: true
auto_tag_suffix: linux-amd64
secrets: secrets:
- docker_username - docker_username
- docker_password - docker_password
@ -71,3 +69,40 @@ secrets:
docker_password: docker_password:
external: external:
name: drone/docker#password 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

View File

@ -1,4 +1,4 @@
FROM alpine:3.6 FROM arm32v6/alpine:3.6
RUN apk add --no-cache ca-certificates git openssh curl perl RUN apk add --no-cache ca-certificates git openssh curl perl
ADD posix/* /usr/local/bin/ ADD posix/* /usr/local/bin/