alertmanager-gotify-bridge: initial commit with bridge and CI
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Oleks
2026-03-16 17:26:06 +02:00
commit 4c7dcd9279
3 changed files with 115 additions and 0 deletions

24
.woodpecker.yaml Normal file
View File

@@ -0,0 +1,24 @@
labels:
arch: amd64
when:
- event: tag
ref: "refs/tags/v*"
steps:
- name: build-and-push
image: git.oleks.space/oleks/nix-ci:latest
environment:
REGISTRY_TOKEN:
from_secret: registry_token
commands:
- echo "$REGISTRY_TOKEN" | docker login git.oleks.space -u oleks --password-stdin
- docker buildx create --name amd64 --driver remote "tcp://buildkit-rootless-amd64.infra.svc.cluster.local:1234"
- TAG=$(echo "$CI_COMMIT_TAG" | sed 's/^v//')
- IMAGE="git.oleks.space/oleks/alertmanager-gotify-bridge"
- echo "Building $IMAGE:$TAG"
- docker buildx build --builder amd64 --platform linux/amd64 --tag "$IMAGE:$TAG" --tag "$IMAGE:latest" --push .
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/hostname: howard2404