updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2020-04-08 01:36:52 +02:00
parent a0761de184
commit 2e47aa3f71

View File

@ -3,10 +3,6 @@ kind: pipeline
type: docker type: docker
name: default-linux-amd64 name: default-linux-amd64
platform:
arch: amd64
os: linux
steps: steps:
- name: build - name: build
image: golang image: golang
@ -22,5 +18,60 @@ steps:
api_key: api_key:
from_secret: gitea_token from_secret: gitea_token
files: dist/*.tar.gz files: dist/*.tar.gz
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-linux-arm64
steps:
- name: build
image: golang
commands:
- ./ci-build.sh
environment:
GOOS: linux
GOARCH: arm64
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: dist/*.tar.gz
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-netbsd-amd64
steps:
- name: build
image: golang
commands:
- ./ci-build.sh
environment:
GOOS: netbsd
GOARCH: amd64
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: dist/*.tar.gz
checksum:
- sha256
- sha512
when: when:
event: tag event: tag