diff --git a/website/content/docs/post-processors/docker-tag.mdx b/website/content/docs/post-processors/docker-tag.mdx index 2d829c388..521d926ca 100644 --- a/website/content/docs/post-processors/docker-tag.mdx +++ b/website/content/docs/post-processors/docker-tag.mdx @@ -50,6 +50,9 @@ settings are optional. An example is shown below, showing only the post-processor configuration: + + + ```json { "type": "docker-tag", @@ -57,6 +60,20 @@ An example is shown below, showing only the post-processor configuration: "tag": "0.7,anothertag" } ``` + + + + +```hcl +post-processors "docker-tag" { + type = "docker-tag" + repository = "hashicorp/packer" + tag = "0.7,anothertag" +} +``` + + + This example would take the image created by the Docker builder and tag it into the local Docker process with a name of `hashicorp/packer:0.7`.