Compare commits
29 commits
main
...
alertmanag
Author | SHA1 | Date | |
---|---|---|---|
1750b25d43 |
|||
1e5b433b3e |
|||
0214d3cea4 |
|||
141234f9fe |
|||
71f008330c |
|||
e71ed22722 |
|||
402a268a4a |
|||
bd58210fa8 |
|||
e40d4ee9de |
|||
e6cfbf9d61 |
|||
4f01fe18fb |
|||
62c04cafda |
|||
b8abef9994 |
|||
1b755639ed |
|||
b3df97dd89 |
|||
344872fea9 |
|||
5393c5df0e |
|||
b15dd6bd0d |
|||
40eafe2479 |
|||
231552e478 |
|||
611a1fa9bd |
|||
6acedcc102 |
|||
5f6a49c4fd |
|||
7b0f9d40e8 |
|||
9b669917f5 |
|||
c99edca2ce |
|||
004f445ba5 |
|||
876e7f39cb |
|||
eb9685a7c2 |
5 changed files with 55 additions and 9 deletions
36
.woodpecker/alertmanager-ntfy.yaml
Normal file
36
.woodpecker/alertmanager-ntfy.yaml
Normal file
|
@ -0,0 +1,36 @@
|
|||
when:
|
||||
- event: push
|
||||
path:
|
||||
- 'alertmanager-ntfy/**'
|
||||
- '.woodpecker/alertmanager-ntfy.yaml'
|
||||
- event: cron
|
||||
|
||||
workspace:
|
||||
path: src
|
||||
|
||||
matrix:
|
||||
VERSION:
|
||||
- 76d5f772f70d6915c89da00414c20009b03cc361
|
||||
IMAGE_NAME:
|
||||
- git.hamburg.ccc.de/ccchh/oci-images/alertmanager-ntfy
|
||||
|
||||
|
||||
steps:
|
||||
- name: setup
|
||||
image: alpine
|
||||
commands:
|
||||
- ls
|
||||
- apk -u add git
|
||||
- mkdir /woodpecker/images
|
||||
- git clone https://github.com/alexbakker/alertmanager-ntfy.git alertmanager-ntfy/src
|
||||
- cd alertmanager-ntfy/src && git checkout ${VERSION} && cd ..
|
||||
|
||||
- name: build-image
|
||||
image: gcr.io/kaniko-project/executor
|
||||
entrypoint:
|
||||
- /kaniko/executor
|
||||
- --context=dir:///woodpecker/src/alertmanager-ntfy
|
||||
- --dockerfile=./Containerfile
|
||||
- --destination=git.hamburg.ccc.de/ccchh/oci-images/alertmanager-ntfy:${VERSION}
|
||||
- --no-push
|
||||
- --tar-path=/woodpecker/images/alertmanager-ntfy.tar
|
|
@ -19,6 +19,7 @@ workspace:
|
|||
# Also because global environment variables aren't a thing.
|
||||
matrix:
|
||||
KEYCLOAK_VERSION:
|
||||
- 26.0
|
||||
- 26.1
|
||||
- 26.2
|
||||
IMAGE_NAME:
|
||||
|
|
|
@ -19,6 +19,7 @@ workspace:
|
|||
# Also because global environment variables aren't a thing.
|
||||
matrix:
|
||||
NEXTCLOUD_VERSION:
|
||||
- 29
|
||||
- 30
|
||||
- 31
|
||||
IMAGE_NAME:
|
||||
|
|
11
alertmanager-ntfy/Containerfile
Normal file
11
alertmanager-ntfy/Containerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM docker.io/library/golang:1 as builder
|
||||
ARG CGO_ENABLED=0
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY src/go.mod src/go.sum ./
|
||||
RUN go mod download
|
||||
COPY src/. .
|
||||
|
||||
RUN go build -v -o /usr/local/bin/app ./...
|
||||
|
||||
CMD ["app"]
|
|
@ -64,9 +64,8 @@ steps:
|
|||
|
||||
- name: publish-image
|
||||
image: docker.io/library/alpine
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
||||
|
@ -76,9 +75,8 @@ steps:
|
|||
image: docker.io/library/alpine
|
||||
when:
|
||||
- branch: main
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
||||
|
@ -89,9 +87,8 @@ steps:
|
|||
when:
|
||||
- branch: main
|
||||
evaluate: 'PENPOT_VERSION == "2.1.2"'
|
||||
environment:
|
||||
GIT_API_TOKEN:
|
||||
from_secret: GIT_API_TOKEN
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
commands:
|
||||
- apk -u add crane
|
||||
- crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN
|
Loading…
Add table
Add a link
Reference in a new issue