metallb-ip-floater/.woodpecker.yml

45 lines
973 B
YAML
Raw Normal View History

2023-10-23 20:15:30 +00:00
labels:
2023-11-11 22:30:56 +00:00
uploadfilter24.eu/instance-role: Woodpecker
2023-10-23 20:15:30 +00:00
steps:
2023-10-20 19:34:30 +00:00
test:
image: golang
commands:
- go test ./...
when:
event:
- push
- pull_request
build:
image: woodpeckerci/plugin-docker-buildx
settings:
2023-11-11 22:30:56 +00:00
platforms: linux/arm64/v8,linux/amd64
repo: lerentis/metallb-ip-floater
tags:
- latest
- ${CI_COMMIT_SHA}
password:
from_secret: docker_hub_password
username:
from_secret: docker_hub_username
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
2023-11-12 06:55:22 +00:00