New To Beats : Unable to build custom beat for cross-environment

GOOS and GOARCH are not there because if you pass them to your make command they just propagate to go build via libbeat/scripts/Makefile (see the related include statement in my Makefile). You do need to copy the .yml files in addition to your beat's binary.