|
@ -6,14 +6,14 @@ resources: |
|
|
source: |
|
|
source: |
|
|
uri: https://git.nulloctet.com/docker/botamusique.git |
|
|
uri: https://git.nulloctet.com/docker/botamusique.git |
|
|
tag_filter: "*[0-9].*[0-9].*[0-9]" |
|
|
tag_filter: "*[0-9].*[0-9].*[0-9]" |
|
|
- name: git-resource-image-nexus |
|
|
|
|
|
|
|
|
- name: image-nexus |
|
|
type: docker-image |
|
|
type: docker-image |
|
|
icon: docker |
|
|
icon: docker |
|
|
source: |
|
|
source: |
|
|
repository: ((nexus_docker_write.host))/sothr/botamusiqe |
|
|
repository: ((nexus_docker_write.host))/sothr/botamusiqe |
|
|
username: ((nexus_docker_write.username)) |
|
|
username: ((nexus_docker_write.username)) |
|
|
password: ((nexus_docker_write.password)) |
|
|
password: ((nexus_docker_write.password)) |
|
|
- name: git-resource-image |
|
|
|
|
|
|
|
|
- name: image-dockerhub |
|
|
type: docker-image |
|
|
type: docker-image |
|
|
icon: docker |
|
|
icon: docker |
|
|
source: |
|
|
source: |
|
@ -22,17 +22,21 @@ resources: |
|
|
password: ((hub_docker_write.password)) |
|
|
password: ((hub_docker_write.password)) |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
- name: build-image |
|
|
|
|
|
|
|
|
- name: build-image-nexus |
|
|
plan: |
|
|
plan: |
|
|
- get: git-resource |
|
|
- get: git-resource |
|
|
trigger: true |
|
|
trigger: true |
|
|
- put: git-resource-image-nexus |
|
|
|
|
|
|
|
|
- put: image-nexus |
|
|
params: |
|
|
params: |
|
|
build: git-resource |
|
|
build: git-resource |
|
|
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 |
|
|
|
|
|
|
|
|
- name: build-image-dockerhub |
|
|
|
|
|
plan: |
|
|
|
|
|
- get: git-resource |
|
|
|
|
|
trigger: true |
|
|
|
|
|
- put: image-dockerhub |
|
|
params: |
|
|
params: |
|
|
build: git-resource |
|
|
build: git-resource |
|
|
tag_file: git-resource/.git/ref |
|
|
tag_file: git-resource/.git/ref |
|
|