forked from bstick12/pack-concourse-resource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yml
38 lines (36 loc) · 872 Bytes
/
example.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
---
resources:
- name: git-resource
type: git
source:
uri: ((git-url))
- name: ((pack-builder-image)):((pack-builder-tag))
type: docker-image
source:
repository: ((pack-builder-image))
version: ((pack-builder-tag))
- name: pack-goflake
type: pack-image-resource
source:
repository: ((repository))
username: ((docker-hub-username))
password: ((docker-hub-password))
resource_types:
- name: pack-image-resource
type: docker-image
privileged: true
source:
repository: bstick12/pack-concourse-resource
version: latest
jobs:
- name: build-goflake-image
plan:
- get: git-resource
trigger: true
- get: ((pack-builder-image)):((pack-builder-tag))
trigger: true
params: {skip_download: true}
- put: pack-goflake
params:
build: git-resource
builder: ((pack-builder-image)):((pack-builder-tag))