diff --git a/README.md b/README.md index e5a2f35..7c47f43 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,19 @@ Each value of the object is another object with the following possible keys: * Generate run arguments from container options. * Call `docker run` with arguments. +## How to avoid user prompts + +Simply set the following two environment variables: +* IMAGE - string, the name of the image to build +* PUSH - int, enter '1' for auto push + +You can set these in your Gulp task like so: +``` +process.env.IMAGE = 'Image name here'; +process.env.PUSH = 1; +``` +or whereever you set your other environment variables. + ## Dev setup npm install