coronafana/.drone.yml
2020-04-12 15:27:10 +02:00

81 lines
1.4 KiB
YAML

---
kind: pipeline
type: docker
name: default-linux-amd64
steps:
- name: build
image: golang
commands:
- ./ci-build.sh build
environment:
GOOS: linux
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
title: $DRONE_TAG
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-linux-arm64
steps:
- name: build
image: golang
commands:
- ./ci-build.sh build
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
title: $DRONE_TAG
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-netbsd-amd64
steps:
- name: build
image: golang
commands:
- ./ci-build.sh build
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
title: $DRONE_TAG
checksum:
- sha256
- sha512
when:
event: tag