updated .drone.yml
This commit is contained in:
parent
29c69b5eb2
commit
572f3203cf
12
.drone.yml
12
.drone.yml
@ -23,7 +23,7 @@ steps:
|
||||
- name: build-linux-amd64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o build/go-check-plugins-$DRONE_TAG-$GOOS-$GOARCH
|
||||
- go build -o build/go-check-plugins-$GOOS-$GOARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
@ -32,7 +32,7 @@ steps:
|
||||
- name: build-linux-arm64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o build/go-check-plugins-$DRONE_TAG-$GOOS-$GOARCH
|
||||
- go build -o build/go-check-plugins-$GOOS-$GOARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: arm64
|
||||
@ -41,7 +41,7 @@ steps:
|
||||
- name: build-linux-arm
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o build/go-check-plugins-$DRONE_TAG-$GOOS-$GOARCH
|
||||
- go build -o build/go-check-plugins-$GOOS-$GOARCH
|
||||
environment:
|
||||
GOOS: linux
|
||||
GOARCH: arm
|
||||
@ -50,7 +50,7 @@ steps:
|
||||
- name: build-netbsd-amd64
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o build/go-check-plugins-$DRONE_TAG-$GOOS-$GOARCH
|
||||
- go build -o build/go-check-plugins-$GOOS-$GOARCH
|
||||
environment:
|
||||
GOOS: netbsd
|
||||
GOARCH: amd64
|
||||
@ -63,6 +63,10 @@ steps:
|
||||
- tar -czvf go-check-plugins-$DRONE_TAG.tar.gz *
|
||||
when:
|
||||
event: tag
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
bucket: my
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user