33 lines
561 B
YAML
33 lines
561 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- bash release.sh cmd/configui/main.go
|
||
|
|
||
|
- name: gitea_release
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
api_key:
|
||
|
from_secret: gitea_api_key
|
||
|
base_url: https://kumoly.io
|
||
|
files: dist/*
|
||
|
checksum:
|
||
|
- sha256
|
||
|
|
||
|
- name: docker
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: hub_user
|
||
|
password:
|
||
|
from_secret: hub_passwd
|
||
|
auto_tag: true
|
||
|
purge: true
|
||
|
repo: tools/configui
|
||
|
registry: hub.kumoly.io
|
||
|
|
||
|
when:
|
||
|
event: tag
|