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