coronafana/.drone.yml

60 lines
979 B
YAML
Raw Permalink Normal View History

2020-04-12 15:27:10 +02:00
---
kind: pipeline
type: docker
name: default-linux-amd64
platform:
os: linux
arсh: amd64
2020-04-12 15:27:10 +02:00
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
2020-04-12 16:33:27 +02:00
files: "*.tar.gz"
2020-04-12 15:27:10 +02:00
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-linux-arm64
platform:
os: linux
arсh: arm64
2020-04-12 15:27:10 +02:00
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
2020-04-12 16:33:27 +02:00
files: "*.tar.gz"
2020-04-12 15:27:10 +02:00
checksum:
- sha256
- sha512
when:
event: tag