alertmanager-gotify-bridge: initial commit with bridge and CI
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
This commit is contained in:
24
.woodpecker.yaml
Normal file
24
.woodpecker.yaml
Normal 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
|
||||
Reference in New Issue
Block a user