@@ -17,25 +17,25 @@ The following types are concrete source types and can use any keys as long as th
17
17
18
18
#### Git
19
19
20
- - #### ` type ` _ (string,required)_
20
+ - #### ` type ` _ (string, required)_
21
21
Must be ` git `
22
22
23
23
- #### ` source ` _ (required)_
24
24
25
25
- ` version ` _ (required)_
26
26
27
- - ` commit ` _ (string,required)_ \
27
+ - ` commit ` _ (string, required)_ \
28
28
Full commit hash
29
29
30
- - ` describe ` _ (string,optional)_ \
30
+ - ` describe ` _ (string, optional)_ \
31
31
Description of commit (see ` git describe ` )
32
32
33
33
- ` metadata ` _ (optional)_
34
34
35
- - ` repository ` _ (string,optional)_ \
35
+ - ` repository ` _ (string, optional)_ \
36
36
Repository URL
37
37
38
- - ` refs ` _ (string, optional)_ \
38
+ - ` refs ` _ (list of strings, optional)_ \
39
39
Additional relevant Git references
40
40
41
41
###### Example
@@ -55,25 +55,25 @@ type = "git"
55
55
56
56
#### Image
57
57
58
- - #### ` type ` _ (string,required)_
58
+ - #### ` type ` _ (string, required)_
59
59
Must be ` image `
60
60
61
61
- #### ` source ` _ (required)_
62
62
63
63
- ` version ` _ (required)_
64
64
65
- - ` digest ` _ (string,required)_ \
65
+ - ` digest ` _ (string, required)_ \
66
66
Image digest
67
67
68
68
- ` metadata ` _ (optional)_
69
69
70
- - ` path ` _ (string,optional)_ \
70
+ - ` path ` _ (string, optional)_ \
71
71
Absolute path to source in image
72
72
73
- - ` repository ` _ (string,optional)_ \
73
+ - ` repository ` _ (string, optional)_ \
74
74
Fully-qualified image name
75
75
76
- - ` refs ` _ (string, optional)_ \
76
+ - ` refs ` _ (list of strings, optional)_ \
77
77
Additional relevant image names/tags
78
78
79
79
###### Example
@@ -97,19 +97,19 @@ The following source information is considered additive and should not overlap w
97
97
98
98
#### ` project.toml `
99
99
100
- - #### ` type ` _ (string,required)_
100
+ - #### ` type ` _ (string, required)_
101
101
Must be ` project ` ** (only if no other type is present)**
102
102
103
103
- #### ` source ` _ (required)_
104
104
105
105
- ` version ` _ (required)_
106
106
107
- - ` version ` _ (string,optional)_ \
107
+ - ` version ` _ (string, optional)_ \
108
108
Version as declared in ` _.version `
109
109
110
110
- ` metadata ` _ (optional)_
111
111
112
- - ` url ` _ (string,optional)_ \
112
+ - ` url ` _ (string, optional)_ \
113
113
URL as declared in ` _.source-url `
114
114
115
115
###### Example (standalone)
@@ -143,4 +143,4 @@ type = "image"
143
143
```
144
144
145
145
[ lifecycle ] : /docs/concepts/components/lifecycle/
146
- [ project-metadata ] : https://github.com/buildpacks/spec/blob/platform/0.7/platform.md#project-metadatatoml-toml
146
+ [ project-metadata ] : https://github.com/buildpacks/spec/blob/platform/0.7/platform.md#project-metadatatoml-toml
0 commit comments