First test for Woodpecker CI integration
Improvements need to be done about branches and releases
This commit is contained in:
parent
350227e898
commit
86d1ca2bb6
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
25
.woodpecker.yml
Normal file
25
.woodpecker.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
pipeline:
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go get ecodash
|
||||||
|
- go build
|
||||||
|
|
||||||
|
docker-publish:
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: gitea.massivebox.net/massivebox/ecodash
|
||||||
|
tags: dev
|
||||||
|
username: massivebox
|
||||||
|
password: $${GITEA_PASSWORD}
|
||||||
|
secrets: [gitea_password]
|
||||||
|
|
||||||
|
gitea-publish:
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://gitea.massivebox.net
|
||||||
|
files: ecodash
|
||||||
|
api_key: $${GITEA_PASSWORD}
|
||||||
|
title: dev
|
||||||
|
secrets: [gitea_password]
|
Loading…
Reference in a new issue