2020-04-06 23:31:26 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-07 23:03:53 +02:00
|
|
|
type: docker
|
|
|
|
name: default-linux-amd64
|
|
|
|
|
2020-04-08 01:36:52 +02:00
|
|
|
steps:
|
2020-05-09 19:39:21 +02:00
|
|
|
- name: packr2
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go get github.com/gobuffalo/packr/v2/packr2
|
2020-05-09 19:54:25 +02:00
|
|
|
- echo $(ls /go/bin)
|
2020-04-08 01:36:52 +02:00
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
2020-04-12 15:25:09 +02:00
|
|
|
- ./ci-build.sh build
|
2020-04-08 01:36:52 +02:00
|
|
|
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:35:17 +02:00
|
|
|
files: "*.tar.gz"
|
2020-04-12 15:25:09 +02:00
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
- sha512
|
2020-04-08 01:36:52 +02:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default-linux-arm64
|
2020-04-06 23:31:26 +02:00
|
|
|
|
|
|
|
steps:
|
2020-05-09 19:39:21 +02:00
|
|
|
- name: packr2
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go get github.com/gobuffalo/packr/v2/packr2
|
2020-04-07 23:03:53 +02:00
|
|
|
- name: build
|
2020-04-06 23:31:26 +02:00
|
|
|
image: golang
|
2020-04-07 23:43:41 +02:00
|
|
|
commands:
|
2020-04-12 15:25:09 +02:00
|
|
|
- ./ci-build.sh build
|
2020-04-07 23:15:47 +02:00
|
|
|
environment:
|
|
|
|
GOOS: linux
|
2020-04-08 01:36:52 +02:00
|
|
|
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:35:17 +02:00
|
|
|
files: "*.tar.gz"
|
2020-04-12 15:25:09 +02:00
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
- sha512
|
2020-04-08 01:36:52 +02:00
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default-netbsd-amd64
|
|
|
|
|
|
|
|
steps:
|
2020-05-09 19:39:21 +02:00
|
|
|
- name: packr2
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go get github.com/gobuffalo/packr/v2/packr2
|
2020-04-08 01:36:52 +02:00
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
2020-04-12 15:25:09 +02:00
|
|
|
- ./ci-build.sh build
|
2020-04-08 01:36:52 +02:00
|
|
|
environment:
|
|
|
|
GOOS: netbsd
|
2020-04-07 23:15:47 +02:00
|
|
|
GOARCH: amd64
|
2020-04-07 00:20:03 +02:00
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://git.paulbsd.com
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
2020-04-12 16:35:17 +02:00
|
|
|
files: "*.tar.gz"
|
2020-04-12 15:25:09 +02:00
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
- sha512
|
2020-04-07 00:21:25 +02:00
|
|
|
when:
|
|
|
|
event: tag
|