Is there anything built into Drone to change the working directory of the container before the execution starts? Something along the lines of:
pipeline: packer: image: appleboy/drone-packer template: aws.json actions: build workdir: packer
I know some plugins have arguments that allow you to do this, but having it on Drone’s side would be nicer. I want to avoid putting a wrapper around any plugin that doesn’t offer this. Wasn’t sure if there was something already. I couldn’t find anything in the docs. If not, I would imagine implementation wise you could add the -w flag to the docker run command when the agent starts the plugin.