You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
---
|
|
resources:
|
|
- name: git-resource
|
|
type: git
|
|
icon: git
|
|
source:
|
|
uri: https://git.nulloctet.com/docker/mumble.git
|
|
tag_filter: "*[0-9].*[0-9].*[0-9]"
|
|
- name: image-nexus
|
|
type: docker-image
|
|
icon: docker
|
|
source:
|
|
repository: ((nexus_docker_write.host))/sothr/mumble
|
|
username: ((nexus_docker_write.username))
|
|
password: ((nexus_docker_write.password))
|
|
- name: image-dockerhub
|
|
type: docker-image
|
|
icon: docker
|
|
source:
|
|
repository: sothr/mumble
|
|
username: ((hub_docker_write.username))
|
|
password: ((hub_docker_write.password))
|
|
|
|
jobs:
|
|
- name: build-image-nexus
|
|
plan:
|
|
- get: git-resource
|
|
trigger: true
|
|
- put: image-nexus
|
|
params:
|
|
build: git-resource
|
|
tag_file: git-resource/.git/ref
|
|
tag_as_latest: true
|
|
get_params: {skip_download: true}
|
|
- name: build-image-dockerhub
|
|
plan:
|
|
- get: git-resource
|
|
trigger: true
|
|
- put: image-dockerhub
|
|
params:
|
|
build: git-resource
|
|
tag_file: git-resource/.git/ref
|
|
tag_as_latest: true
|
|
get_params: {skip_download: true}
|