Add hcl Example to docker-save
This commit is contained in:
parent
28245ec143
commit
dc87825d5c
|
@ -42,9 +42,25 @@ The configuration for this post-processor only requires one option.
|
||||||
|
|
||||||
An example is shown below, showing only the post-processor configuration:
|
An example is shown below, showing only the post-processor configuration:
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<Tab heading="JSON">
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"type": "docker-save",
|
"type": "docker-save",
|
||||||
"path": "foo.tar"
|
"path": "foo.tar"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
</Tab>
|
||||||
|
|
||||||
|
<Tab heading="HCL2">
|
||||||
|
|
||||||
|
```hcl
|
||||||
|
post-processor "docker-save" {
|
||||||
|
type = "docker-save"
|
||||||
|
path = "foo.tar"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue