updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Paul 2020-06-07 22:18:34 +02:00
parent 4fa44ce641
commit a106ced25c

View File

@ -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