{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/327","repository_url":"https://api.github.com/repos/bazelbuild/rules_docker","labels_url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/327/comments","events_url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/327/events","html_url":"https://github.com/bazelbuild/rules_docker/issues/327","id":298506070,"node_id":"MDU6SXNzdWUyOTg1MDYwNzA=","number":327,"title":"Correct way to build image_tar","user":{"login":"codesuki","id":5276006,"node_id":"MDQ6VXNlcjUyNzYwMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/5276006?v=4","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"labels":[{"id":573163637,"node_id":"MDU6TGFiZWw1NzMxNjM2Mzc=","url":"https://api.github.com/repos/bazelbuild/rules_docker/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-20T08:22:31Z","updated_at":"2018-12-02T03:46:08Z","closed_at":"2018-12-02T03:46:08Z","author_association":"CONTRIBUTOR","body":"I had to add the below alias to the build file at `cmd/feature/BUILD.bazel`\r\n```\r\ngo_image(\r\n    name = \"feature_image\",\r\n    binary = \":feature\",\r\n)\r\n\r\n# needed to make bazel build //cmd/feature:... build the docker image which has rule //cmd/feature:feature.tar\r\n# it seems it is not built because nothing depends on it.\r\nalias(\r\n    name = \"feature_image_tar\",\r\n    actual = \":feature_image.tar\",\r\n)\r\n```\r\n\r\nIs there a more proper way to build `image_tar`? "},"comment":{"url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/comments/443478771","html_url":"https://github.com/bazelbuild/rules_docker/issues/327#issuecomment-443478771","issue_url":"https://api.github.com/repos/bazelbuild/rules_docker/issues/327","id":443478771,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQ3ODc3MQ==","user":{"login":"nlopezgi","id":4062751,"node_id":"MDQ6VXNlcjQwNjI3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4062751?v=4","gravatar_id":"","url":"https://api.github.com/users/nlopezgi","html_url":"https://github.com/nlopezgi","followers_url":"https://api.github.com/users/nlopezgi/followers","following_url":"https://api.github.com/users/nlopezgi/following{/other_user}","gists_url":"https://api.github.com/users/nlopezgi/gists{/gist_id}","starred_url":"https://api.github.com/users/nlopezgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlopezgi/subscriptions","organizations_url":"https://api.github.com/users/nlopezgi/orgs","repos_url":"https://api.github.com/users/nlopezgi/repos","events_url":"https://api.github.com/users/nlopezgi/events{/privacy}","received_events_url":"https://api.github.com/users/nlopezgi/received_events","type":"User","site_admin":false},"created_at":"2018-12-02T03:46:08Z","updated_at":"2018-12-02T03:46:08Z","author_association":"MEMBER","body":"is this still an issue? please reopen if so."}}
{"actor":{"display_login":"nlopezgi"}}