hashicorp / packer-plugin-docker

Packer plugin for Docker Builder
https://www.packer.io/docs/builders/docker
Mozilla Public License 2.0
31 stars 25 forks source link

Remove string only variant from docker tag example #70

Closed marcbachmann closed 2 years ago

marcbachmann commented 2 years ago

Besides some fixes for #69, the second commit contains another change for the docker-tag page:

Config:

  post-processors {
    post-processor "docker-tag" {
      repository =  "debian"
      tags = "latest"
    }
  }

Output:

Error: Failed preparing post-processor-block "docker-tag" ""

  on ./config.pkr.hcl line 65:
  (source code not available)

./config.pkr.hcl:67,14-22: Incorrect attribute value type; Inappropriate value
for attribute "tags": list of string required.

==> Wait completed after 3 microseconds

==> Builds finished but no artifacts were created.