dip/.drone.yml

62 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2020-05-24 18:42:01 +02:00
---
kind: pipeline
type: docker
name: default-linux-amd64
steps:
- name: packr2
image: golang
commands:
2020-08-01 18:55:51 +02:00
- go get -u github.com/gobuffalo/packr/v2/packr2
2020-08-01 19:09:09 +02:00
- go build -o packr2 -mod=mod github.com/gobuffalo/packr/v2/packr2
2020-05-24 18:42:01 +02:00
- 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:
2020-08-01 18:55:51 +02:00
- go get -u github.com/gobuffalo/packr/v2/packr2
2020-08-01 19:09:09 +02:00
- go build -o packr2 -mod=mod github.com/gobuffalo/packr/v2/packr2
2020-05-24 18:42:01 +02:00
- 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:
2020-08-01 18:46:40 +02:00
event: tag