Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Now Docker images and builds are only done on tags Hopefully Docker builds work now
29 lines
575 B
YAML
29 lines
575 B
YAML
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
|