Goreleaser will handle building the binary, and then copy it to an empty directory, which becomes the build context used for the image build.