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.
48 lines
775 B
48 lines
775 B
7 years ago
|
workspace:
|
||
|
base: /go/src
|
||
|
path: github.com/appleboy/drone-packer
|
||
|
|
||
|
clone:
|
||
|
git:
|
||
|
image: plugins/git
|
||
|
depth: 50
|
||
|
tags: true
|
||
|
|
||
|
pipeline:
|
||
|
lint:
|
||
|
image: golang:1.10
|
||
|
pull: true
|
||
|
commands:
|
||
|
- make vet
|
||
|
- make lint
|
||
|
- make test-vendor
|
||
|
- make misspell-check
|
||
|
|
||
|
build_linux_amd64:
|
||
|
image: golang:1.10
|
||
|
pull: true
|
||
|
group: build
|
||
|
commands:
|
||
|
- make build_linux_amd64
|
||
|
|
||
|
build_linux_i386:
|
||
|
image: golang:1.10
|
||
|
pull: true
|
||
|
group: build
|
||
|
commands:
|
||
|
- make build_linux_i386
|
||
|
|
||
|
build_linux_arm64:
|
||
|
image: golang:1.10
|
||
|
pull: true
|
||
|
group: build
|
||
|
commands:
|
||
|
- make build_linux_arm64
|
||
|
|
||
|
build_linux_arm:
|
||
|
image: golang:1.10
|
||
|
pull: true
|
||
|
group: build
|
||
|
commands:
|
||
|
- make build_linux_arm
|