From 021f30e5df6245e53b1fd275955a2a03ec3375a8 Mon Sep 17 00:00:00 2001 From: Caleb Gray Date: Wed, 15 Mar 2017 12:25:34 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e5a2f35..8959e8c 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,12 @@ 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 + ## Dev setup npm install From cbf9e8309fc6bb1f0dcbe705708cada0a8c6d74a Mon Sep 17 00:00:00 2001 From: Caleb Gray Date: Fri, 17 Mar 2017 10:42:59 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8959e8c..7c47f43 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,13 @@ 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