You should do this with the docker-tag post-processor and ensure the it is in a sequence after docker-tag.
On Mon, Apr 29, 2019, 23:46 'Nicholas Bayle' via Packer < [email protected]> wrote: > Hello, when using docker save in general, you can specify tags. See: > > https://docs.docker.com/engine/reference/commandline/#cherry-pick-particular-tags > > However, with the docker-save post-processor, there doesn't appear to be a > way to tag the exported image. > > I looked at the docker-tag post-processor, but this leaves the image in > the repo, not exported to tar. > > Is there a way to accomplish this, or can this be a feature request? > > Nick > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CAGzi4%3D6VcTV9xX%3Drmkpzh5yVLpTu4fXjo5ArdUUH9wut04md9g%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAGzi4%3D6VcTV9xX%3Drmkpzh5yVLpTu4fXjo5ArdUUH9wut04md9g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-w1mxobF03dpg8aNJRRuY1dE-QOZLcZ_-B6%2BqYjCMrXg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
