You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
439 B

kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang:alpine
commands:
- go env -w GO111MODULE=on
- go env -w GOPROXY=https://goproxy.cn,direct
- go build -o ./dist/core -i -ldflags="-w -s"
- env
# when:
# event: tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.sltapp.cn
files: dist/*
when:
event: tag