mirror of
https://gitea.massivebox.net/massivebox/ecodash.git
synced 2024-11-19 10:29:24 +01:00
Add Woodpecker CI
This commit is contained in:
parent
350227e898
commit
cfd96ab245
28
.woodpecker.yml
Normal file
28
.woodpecker.yml
Normal file
@ -0,0 +1,28 @@
|
||||
pipeline:
|
||||
|
||||
build:
|
||||
image: golang
|
||||
commands:
|
||||
- go get ecodash
|
||||
- go build
|
||||
|
||||
docker-publish:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: gitea.massivebox.net
|
||||
repo: gitea.massivebox.net/massivebox/ecodash
|
||||
auto_tag: true
|
||||
username: massivebox
|
||||
password:
|
||||
from_secret: auth_token
|
||||
|
||||
gitea-publish:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://gitea.massivebox.net
|
||||
files: ecodash
|
||||
api_key:
|
||||
from_secret: auth_token
|
||||
title: ${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: tag
|
Loading…
Reference in New Issue
Block a user