{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/8392","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/8392/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/8392/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/8392/events","html_url":"https://github.com/hashicorp/packer/pull/8392","id":525915277,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQzNDQ4MzY0","number":8392,"title":"F-8351: Changed stuct to accept array and tag each artifact","user":{"login":"henry-aj-jones","id":47103303,"node_id":"MDQ6VXNlcjQ3MTAzMzAz","avatar_url":"https://avatars0.githubusercontent.com/u/47103303?v=4","gravatar_id":"","url":"https://api.github.com/users/henry-aj-jones","html_url":"https://github.com/henry-aj-jones","followers_url":"https://api.github.com/users/henry-aj-jones/followers","following_url":"https://api.github.com/users/henry-aj-jones/following{/other_user}","gists_url":"https://api.github.com/users/henry-aj-jones/gists{/gist_id}","starred_url":"https://api.github.com/users/henry-aj-jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry-aj-jones/subscriptions","organizations_url":"https://api.github.com/users/henry-aj-jones/orgs","repos_url":"https://api.github.com/users/henry-aj-jones/repos","events_url":"https://api.github.com/users/henry-aj-jones/events{/privacy}","received_events_url":"https://api.github.com/users/henry-aj-jones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2019-11-20T16:25:30Z","updated_at":"2019-11-21T15:49:52Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/hashicorp/packer/pulls/8392","html_url":"https://github.com/hashicorp/packer/pull/8392","diff_url":"https://github.com/hashicorp/packer/pull/8392.diff","patch_url":"https://github.com/hashicorp/packer/pull/8392.patch"},"body":"Tagging a docker image multiple times results in the same image being produced with several tags.\r\nThis meant I could not simply follow the changes recommended in the issue. I have also assumed that the atifact to be returned should be the one with the last tag in the array. This might need a wider discussion. I still have to write some tests to support this change.\r\n\r\nTo test the changes run `docker image ls | grep iron/base`\r\n\r\nRename the following file to test.json and run `packer build testfile.json`\r\n[testfile.txt](https://github.com/hashicorp/packer/files/3871026/testfile.txt)\r\n\r\nRun  then run `docker image ls | grep iron/base` \r\nThe output should show something like the following new images:\r\n\r\niron/base                                     0.7                          87f4f8cd2998        10 hours ago        4.7MB\r\niron/base                                     14.1                         87f4f8cd2998        10 hours ago        4.7MB\r\niron/base                                     spaggeti                     87f4f8cd2998        10 hours ago        4.7MB\r\n\r\n\r\nCloses #8351\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/557145490","html_url":"https://github.com/hashicorp/packer/pull/8392#issuecomment-557145490","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/8392","id":557145490,"node_id":"MDEyOklzc3VlQ29tbWVudDU1NzE0NTQ5MA==","user":{"login":"henry-aj-jones","id":47103303,"node_id":"MDQ6VXNlcjQ3MTAzMzAz","avatar_url":"https://avatars0.githubusercontent.com/u/47103303?v=4","gravatar_id":"","url":"https://api.github.com/users/henry-aj-jones","html_url":"https://github.com/henry-aj-jones","followers_url":"https://api.github.com/users/henry-aj-jones/followers","following_url":"https://api.github.com/users/henry-aj-jones/following{/other_user}","gists_url":"https://api.github.com/users/henry-aj-jones/gists{/gist_id}","starred_url":"https://api.github.com/users/henry-aj-jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry-aj-jones/subscriptions","organizations_url":"https://api.github.com/users/henry-aj-jones/orgs","repos_url":"https://api.github.com/users/henry-aj-jones/repos","events_url":"https://api.github.com/users/henry-aj-jones/events{/privacy}","received_events_url":"https://api.github.com/users/henry-aj-jones/received_events","type":"User","site_admin":false},"created_at":"2019-11-21T15:49:51Z","updated_at":"2019-11-21T15:49:51Z","author_association":"NONE","body":"@azr I'll give it a whirl :) "}}
{"actor":{"display_login":"henry-aj-jones"}}