|
@ -1,11 +1,10 @@ |
|
|
--- |
|
|
|
|
|
resources: |
|
|
resources: |
|
|
- name: git-resource |
|
|
- name: git-resource |
|
|
type: git |
|
|
type: git |
|
|
icon: git |
|
|
icon: git |
|
|
source: |
|
|
source: |
|
|
uri: https://git.nulloctet.com/warricksothr/Asset-Compression-Manager.git |
|
|
uri: https://git.nulloctet.com/warricksothr/Asset-Compression-Manager.git |
|
|
tag_filter: "*[0-9].*[0-9].*[0-9]" |
|
|
|
|
|
|
|
|
tag_filter: '*[0-9].*[0-9].*[0-9]' |
|
|
- name: git-resource-image-nexus |
|
|
- name: git-resource-image-nexus |
|
|
type: docker-image |
|
|
type: docker-image |
|
|
icon: docker |
|
|
icon: docker |
|
@ -20,21 +19,25 @@ resources: |
|
|
repository: sothr/acm |
|
|
repository: sothr/acm |
|
|
username: ((hub_docker_write.username)) |
|
|
username: ((hub_docker_write.username)) |
|
|
password: ((hub_docker_write.password)) |
|
|
password: ((hub_docker_write.password)) |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
- name: build-image |
|
|
- name: build-image |
|
|
plan: |
|
|
plan: |
|
|
- get: git-resource |
|
|
- get: git-resource |
|
|
trigger: true |
|
|
trigger: true |
|
|
|
|
|
- in_parallel: |
|
|
- put: git-resource-image-nexus |
|
|
- put: git-resource-image-nexus |
|
|
params: |
|
|
params: |
|
|
build: git-resource |
|
|
build: git-resource |
|
|
|
|
|
cache: sothr/acm:latest |
|
|
tag_file: git-resource/.git/ref |
|
|
tag_file: git-resource/.git/ref |
|
|
tag_as_latest: true |
|
|
tag_as_latest: true |
|
|
get_params: {skip_download: true} |
|
|
|
|
|
|
|
|
get_params: |
|
|
|
|
|
skip_download: true |
|
|
- put: git-resource-image |
|
|
- put: git-resource-image |
|
|
params: |
|
|
params: |
|
|
build: git-resource |
|
|
build: git-resource |
|
|
|
|
|
cache: sothr/acm:latest |
|
|
tag_file: git-resource/.git/ref |
|
|
tag_file: git-resource/.git/ref |
|
|
tag_as_latest: true |
|
|
tag_as_latest: true |
|
|
get_params: {skip_download: true} |
|
|
|
|
|
|
|
|
get_params: |
|
|
|
|
|
skip_download: true |