-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpipeline.yml
40 lines (37 loc) · 902 Bytes
/
pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
resources:
- name: docker-repo
type: git
source:
uri: {{git_repo_url}}
branch: master
private_key: {{git_private_key}}
username: {{github_user}}
- name: docker_image
type: docker-image
source:
repository: {{container_fullname}}
email: {{docker_mail}}
username: {{docker_user}}
password: {{docker_password}}
cache: true
- name: github_release
type: github-release
source:
user: {{github_user}}
repository: {{git_repo}}
access_token: {{github_token}}
jobs:
- name: release
serial: true
plan:
- get: docker-repo
trigger: true
- put: docker_image
params:
build: docker-repo
tag: docker-repo/version
tag_as_latest: true
- put: github_release
params:
name: docker-repo/version
tag: docker-repo/version