2022-10-31 10:19:52 +00:00
|
|
|
pipeline:
|
|
|
|
|
|
|
|
build:
|
|
|
|
image: golang
|
|
|
|
commands:
|
|
|
|
- go get ecodash
|
|
|
|
- go build
|
|
|
|
|
|
|
|
docker-publish:
|
|
|
|
image: plugins/docker
|
2022-10-31 11:39:30 +00:00
|
|
|
settings:
|
2022-10-31 17:29:05 +00:00
|
|
|
registry: gitea.massivebox.net
|
2022-10-31 11:39:30 +00:00
|
|
|
repo: gitea.massivebox.net/massivebox/ecodash
|
2022-10-31 17:29:05 +00:00
|
|
|
auto_tag: true
|
2022-10-31 11:39:30 +00:00
|
|
|
username: massivebox
|
|
|
|
password:
|
|
|
|
from_secret: auth_token
|
2022-10-31 10:19:52 +00:00
|
|
|
|
|
|
|
gitea-publish:
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://gitea.massivebox.net
|
|
|
|
files: ecodash
|
2022-10-31 11:32:12 +00:00
|
|
|
api_key:
|
|
|
|
from_secret: auth_token
|
2022-10-31 17:29:05 +00:00
|
|
|
title: ${CI_COMMIT_TAG}
|
|
|
|
when:
|
|
|
|
event: tag
|