This commit is contained in:
parent
71f008330c
commit
141234f9fe
1 changed files with 9 additions and 2 deletions
|
@ -8,6 +8,13 @@ when:
|
|||
workspace:
|
||||
path: src
|
||||
|
||||
matrix:
|
||||
VERSION:
|
||||
- 76d5f772f70d6915c89da00414c20009b03cc361
|
||||
IMAGE_NAME:
|
||||
- git.hamburg.ccc.de/ccchh/oci-images/alertmanager-ntfy
|
||||
|
||||
|
||||
steps:
|
||||
- name: setup
|
||||
image: alpine
|
||||
|
@ -16,7 +23,7 @@ steps:
|
|||
- 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 76d5f772f70d6915c89da00414c20009b03cc361 && cd ../..
|
||||
- cd alertmanager-ntfy/src && git checkout ${VERSION} && cd ../..
|
||||
|
||||
- name: build-image
|
||||
image: gcr.io/kaniko-project/executor
|
||||
|
@ -24,6 +31,6 @@ steps:
|
|||
- /kaniko/executor
|
||||
- --context=dir:///woodpecker/src/alertmanager-ntfy
|
||||
- --dockerfile=./Containerfile
|
||||
- --destination=git.hamburg.ccc.de/ccchh/oci-images/alertmanager-ntfy:76d5f772f70d6915c89da00414c20009b03cc361
|
||||
- --destination=git.hamburg.ccc.de/ccchh/oci-images/alertmanager-ntfy:${VERSION}
|
||||
- --no-push
|
||||
- --tar-path=/woodpecker/images/alertmanager-ntfy.tar
|
Loading…
Add table
Add a link
Reference in a new issue