woodpecker-autoscaler/.woodpecker.yml

38 lines
816 B
YAML
Raw Normal View History

2023-10-29 21:44:39 +00:00
steps:
test:
image: golang:1.21
commands:
- go test ./...
when:
event:
- push
- pull_request
build:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/arm64/v8
repo: lerentis/metallb-ip-floater
tags:
- latest
- ${CI_COMMIT_SHA}
dry-run: true
when:
event:
- push
- pull_request
notify:
image: appleboy/drone-telegram
settings:
message: "Commit {{ commit.message }} ({{ commit.link }}) ran with build {{ build.number }} and finished with status {{ build.status }}."
to:
from_secret: telegram_userid
token:
from_secret: telegram_secret
when:
status:
- failure
- success
event:
- push
- pull_request