Skip to content

Commit 8bc255d

Browse files
committed
Update README with resource_type usage
Fixes #3
1 parent f20c7f7 commit 8bc255d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ Tracks the commits in a [git](http://git-scm.com/) repository.
5555
Resource configuration for a private repo:
5656
5757
``` yaml
58+
resource_type:
59+
- name: git-multibranch
60+
type: docker-image
61+
source:
62+
repository: cfcommunity/git-multibranch-resource
63+
5864
resources:
5965
- name: source-code
60-
type: git
66+
type: git-multibranch
6167
source:
6268
uri: git@github.com:concourse/git-resource.git
6369
branch: master
@@ -89,7 +95,7 @@ Detecting changes on all branches except master and deploy
8995
``` yaml
9096
resources:
9197
- name: my-repo
92-
type: git
98+
type: git-multibranch
9399
source:
94100
uri: git@github.com:my-org/my-repo.git
95101
branches: '.*'

0 commit comments

Comments
 (0)