First test for Woodpecker CI integration

Improvements need to be done about branches and releases
This commit is contained in:
MassiveBox 2022-10-31 11:19:52 +01:00
parent 350227e898
commit 86d1ca2bb6
2 changed files with 31 additions and 0 deletions

6
.idea/vcs.xml Normal file
View 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
View 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]