I need to know the docker image id in the registry to include it in the Heroku API request in order to perform a release. To do that I use docker inspect tag --format={{.Id}} inside alpine image and install docker-cli to that. In order docker command to work I need a volume mapping from host /var/run/docker.sock to container /var/run/docker.sock.
pipeline cannot mount volumes by default, for security reasons. we therefore do not allow volumes to be mounted at drone cloud, however, you always have the option to self-host Drone on your own infrastructure.