woodpecker-autoscaler/.woodpecker/pr.yml
Tobias Trabelsi 31da09ef6f
All checks were successful
ci/woodpecker/pr/pr Pipeline was successful
update dependencies and ship multiarch builds
2024-03-04 23:00:51 +01:00

29 lines
695 B
YAML

when:
- event: pull_request
labels:
uploadfilter24.eu/instance-role: Woodpecker
steps:
test:
image: golang:1.21
commands:
- go test ./...
pr-build:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/arm64/v8,linux/amd64
repo: lerentis/woodpecker-autoscaler
tags:
- latest
- ${CI_COMMIT_SHA}
dry-run: true
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