{"action":"created","issue":{"url":"https://api.github.com/repos/goreleaser/goreleaser/issues/609","repository_url":"https://api.github.com/repos/goreleaser/goreleaser","labels_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/609/comments","events_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/609/events","html_url":"https://github.com/goreleaser/goreleaser/issues/609","id":305044019,"number":609,"title":"Add target fields to Docker config for multi-stage builds","user":{"login":"rwlincoln","id":36113520,"avatar_url":"https://avatars1.githubusercontent.com/u/36113520?v=4","gravatar_id":"","url":"https://api.github.com/users/rwlincoln","html_url":"https://github.com/rwlincoln","followers_url":"https://api.github.com/users/rwlincoln/followers","following_url":"https://api.github.com/users/rwlincoln/following{/other_user}","gists_url":"https://api.github.com/users/rwlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/rwlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwlincoln/subscriptions","organizations_url":"https://api.github.com/users/rwlincoln/orgs","repos_url":"https://api.github.com/users/rwlincoln/repos","events_url":"https://api.github.com/users/rwlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/rwlincoln/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T07:02:50Z","updated_at":"2018-03-15T12:48:44Z","closed_at":null,"author_association":"NONE","body":"### Describe the feature and how you think it should work.\r\n\r\nI would like to have a single Dockerfile with multiple `FROM` statements and to build multiple images. However, I can't see how the `target` argument to `docker build` can be set in the config:\r\n\r\nhttps://docs.docker.com/develop/develop-images/multistage-build/#stop-at-a-specific-build-stage\r\n\r\nPerhaps a field could be added to the Docker configuration settings."},"comment":{"url":"https://api.github.com/repos/goreleaser/goreleaser/issues/comments/373364447","html_url":"https://github.com/goreleaser/goreleaser/issues/609#issuecomment-373364447","issue_url":"https://api.github.com/repos/goreleaser/goreleaser/issues/609","id":373364447,"user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T12:48:44Z","updated_at":"2018-03-15T12:48:44Z","author_association":"OWNER","body":"Not sure this makes sense.\r\n\r\nGoReleaser is already building the binaries, why would you use multi-stage builds?"}}
{"actor":{"display_login":"caarlos0"}}