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 - name: clone
image: alpine/git image: alpine/git
commands: commands:
- git clone https://github.com/mackerelio/go-check-plugins.git . - git clone https://github.com/sensu/sensu-go.git .
- git checkout $DRONE_TAG - git checkout $DRONE_TAG
when: when:
event: tag event: tag
@ -23,37 +23,45 @@ steps:
- name: build-linux-amd64 - name: build-linux-amd64
image: golang image: golang
commands: commands:
- go build -o bin/go-check-plugins-$GOOS-$GOARCH - go build -o bin/go-check-plugins-$OS-$ARCH
environment: environment:
GOOS: linux GOOS: linux
GOARCH: amd64 GOARCH: amd64
OS: linux
ARCH: amd64
when: when:
event: tag event: tag
- name: build-linux-arm64 - name: build-linux-arm64
image: golang image: golang
commands: commands:
- go build -o bin/go-check-plugins-$GOOS-$GOARCH - go build -o bin/go-check-plugins-$OS-$ARCH
environment: environment:
GOOS: linux GOOS: linux
GOARCH: arm64 GOARCH: arm64
OS: linux
ARCH: arm64
when: when:
event: tag event: tag
- name: build-linux-arm - name: build-linux-arm
image: golang image: golang
commands: commands:
- go build -o bin/go-check-plugins-$GOOS-$GOARCH - go build -o bin/go-check-plugins-$OS-$ARCH
environment: environment:
GOOS: linux GOOS: linux
GOARCH: arm GOARCH: arm
OS: linux
ARCH: armhf
when: when:
event: tag event: tag
- name: build-netbsd-amd64 - name: build-netbsd-amd64
image: golang image: golang
commands: commands:
- go build -o bin/go-check-plugins-$GOOS-$GOARCH - go build -o bin/go-check-plugins-$OS-$ARCH
environment: environment:
GOOS: netbsd GOOS: netbsd
GOARCH: amd64 GOARCH: amd64
OS: netbsd
ARCH: amd64
when: when:
event: tag event: tag
- name: create_archive - name: create_archive