Add hcl Example to docker-save

This commit is contained in:
adeniyistephen 2020-12-21 16:56:12 +01:00
parent 28245ec143
commit dc87825d5c
1 changed files with 16 additions and 0 deletions

View File

@ -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>