You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- go test -v ./...
|
|
|
|
volumes:
|
|
|
|
- name:
|
|
|
|
path: /go
|
|
|
|
- name: build
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- "go build -ldflags \"-extldflags \\\\\"-static\\\\\"\" -o release/linux/arm/Drone-server github.com/Drone/Drone/cmd/Drone-server"
|
|
|
|
volumes:
|
|
|
|
- name:
|
|
|
|
path: /go
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
- name: publish_server
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm
|
|
|
|
dockerfile: docker/Dockerfile.server.linux.arm
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: drone/drone
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
volumes:
|
|
|
|
- name:
|
|
|
|
temp: {}
|