|
@ -0,0 +1,28 @@ |
|
|
|
|
|
--- |
|
|
|
|
|
resources: |
|
|
|
|
|
- name: git-resource |
|
|
|
|
|
type: git |
|
|
|
|
|
icon: git |
|
|
|
|
|
source: |
|
|
|
|
|
uri: https://git.nulloctet.com/Docker/matrix-notification-resource.git |
|
|
|
|
|
ignore_paths: |
|
|
|
|
|
- upload_pipeline.sh |
|
|
|
|
|
- README.md |
|
|
|
|
|
- name: git-resource-image |
|
|
|
|
|
type: docker-image |
|
|
|
|
|
icon: docker |
|
|
|
|
|
source: |
|
|
|
|
|
repository: ((nexus_docker_write.host))/sothr/matrix-notification-resource |
|
|
|
|
|
username: ((nexus_docker_write.username)) |
|
|
|
|
|
password: ((nexus_docker_write.password)) |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
|
- name: build-image |
|
|
|
|
|
plan: |
|
|
|
|
|
- get: git-resource |
|
|
|
|
|
trigger: true |
|
|
|
|
|
- put: git-resource-image |
|
|
|
|
|
params: |
|
|
|
|
|
build: git-resource |
|
|
|
|
|
tag_file: git-resource/tag |
|
|
|
|
|
tag_as_latest: true |