Is it possible to get the hostname of build container? I have tried $HOSTNAME, it returns me the busyboxs hostname, also I have tried $$HOSTNAME that is empty.
Sorry, there is currently no variable exposing the host machine’s hostname. For reference, this is the list of supported variables http://readme.drone.io/usage/environment-reference/