From a106ced25c1589de056bf952bbf94c7219ea3596 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 7 Jun 2020 22:18:34 +0200 Subject: [PATCH] updated .drone.yml --- .drone.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9f62e62..9fa9a1a 100644 --- a/.drone.yml +++ b/.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