qrz/.drone.yml
Paul Lecuq 1116096e3e
All checks were successful
continuous-integration/drone/push Build is passing
updated ci files
2020-05-09 19:58:52 +02:00

93 lines
1.8 KiB
YAML

---
kind: pipeline
type: docker
name: default-linux-amd64
steps:
- name: packr2
image: golang
commands:
- go get github.com/gobuffalo/packr/v2/packr2
- go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- 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: "*.tar.gz"
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-linux-arm64
steps:
- name: packr2
image: golang
commands:
- go get github.com/gobuffalo/packr/v2/packr2
- go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- 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: "*.tar.gz"
checksum:
- sha256
- sha512
when:
event: tag
---
kind: pipeline
type: docker
name: default-netbsd-amd64
steps:
- name: packr2
image: golang
commands:
- go get github.com/gobuffalo/packr/v2/packr2
- go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- 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: "*.tar.gz"
checksum:
- sha256
- sha512
when:
event: tag