updated .drone.yml
This commit is contained in:
parent
4fa44ce641
commit
a106ced25c
18
.drone.yml
18
.drone.yml
@ -10,7 +10,7 @@ steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone https://github.com/mackerelio/go-check-plugins.git .
|
||||
- git clone https://github.com/sensu/sensu-go.git .
|
||||
- git checkout $DRONE_TAG
|
||||
when:
|
||||
event: tag
|
||||
@ -23,37 +23,45 @@ steps:
|
||||
- name: build-linux-amd64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o bin/go-check-plugins-$GOOS-$GOARCH
|
||||
- go build -o bin/go-check-plugins-$OS-$ARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
OS: linux
|
||||
ARCH: amd64
|
||||
when:
|
||||
event: tag
|
||||
- name: build-linux-arm64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o bin/go-check-plugins-$GOOS-$GOARCH
|
||||
- go build -o bin/go-check-plugins-$OS-$ARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: arm64
|
||||
OS: linux
|
||||
ARCH: arm64
|
||||
when:
|
||||
event: tag
|
||||
- name: build-linux-arm
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o bin/go-check-plugins-$GOOS-$GOARCH
|
||||
- go build -o bin/go-check-plugins-$OS-$ARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: arm
|
||||
OS: linux
|
||||
ARCH: armhf
|
||||
when:
|
||||
event: tag
|
||||
- name: build-netbsd-amd64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o bin/go-check-plugins-$GOOS-$GOARCH
|
||||
- go build -o bin/go-check-plugins-$OS-$ARCH
|
||||
environment:
|
||||
GOOS: netbsd
|
||||
GOARCH: amd64
|
||||
OS: netbsd
|
||||
ARCH: amd64
|
||||
when:
|
||||
event: tag
|
||||
- name: create_archive
|
||||
|
Loading…
Reference in New Issue
Block a user