ecodash/.woodpecker.yml
MassiveBox 74ff51b035 SQLite Improvements
Turns out HomeAssistant only returns 10 days'data byault. This is a problem that we will havsoon.
Now the cache doesn't reset eh time it only if some data is missing.
2023-01-04 15:10:45 +01:00

37 lines
737 B
YAML
Executable file

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
prepare-gitea-release:
image: alpine
commands:
- apk update; apk add zip
- zip -r ecodash.zip templates ecodash
when:
event: tag
gitea-publish:
image: plugins/gitea-release
settings:
base_url: https://gitea.massivebox.net
files: ecodash.zip
api_key:
from_secret: auth_token
title: ${CI_COMMIT_TAG}
when:
event: tag