36 lines
571 B
YAML
36 lines
571 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default-linux-amd64
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- ./ci-build.sh build
|
||
|
environment:
|
||
|
GOOS: linux
|
||
|
GOARCH: amd64
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: gitea-release
|
||
|
|
||
|
steps:
|
||
|
- name: release
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
base_url: https://git.paulbsd.com
|
||
|
api_key:
|
||
|
from_secret: gitea_token
|
||
|
files: "*.tar.gz"
|
||
|
title: ./VERSION
|
||
|
checksum:
|
||
|
- sha256
|
||
|
- sha512
|
||
|
when:
|
||
|
event: tag
|
||
|
|
||
|
depends_on:
|
||
|
- default-linux-amd64
|