configui/.drone.yml

36 lines
674 B
YAML
Raw Normal View History

2021-10-23 16:49:44 +00:00
kind: pipeline
name: default
steps:
- name: build
2021-10-23 19:10:19 +00:00
image: golang:1.17.2
2021-10-23 16:49:44 +00:00
commands:
2021-10-23 18:15:38 +00:00
- git tag $DRONE_TAG
2021-10-23 16:49:44 +00:00
- bash release.sh cmd/configui/main.go
2021-10-24 07:06:02 +00:00
- echo -n "latest,${DRONE_TAG#v}" > .tags
2021-10-23 16:49:44 +00:00
- 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
2021-10-24 06:32:55 +00:00
# auto_tag: true
2021-10-23 20:03:45 +00:00
mtu: 1000
2021-10-23 18:19:31 +00:00
# purge: true
2021-10-23 17:41:52 +00:00
repo: hub.kumoly.io/tools/configui
2021-10-23 16:49:44 +00:00
registry: hub.kumoly.io
2021-10-23 17:38:15 +00:00
trigger:
2021-10-23 16:49:44 +00:00
event: tag