Skip to content

Instantly share code, notes, and snippets.

@kevholditch
Last active November 10, 2017 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevholditch/49aab5c534db2ad57848750e8f8c8798 to your computer and use it in GitHub Desktop.
Save kevholditch/49aab5c534db2ad57848750e8f8c8798 to your computer and use it in GitHub Desktop.
if [ "$GITHUB_TOKEN" = "" ]; then
echo "you need to create a github token with access to kevholditch/demo to run this build see https://github.com/settings/tokens/new"
exit -1
fi
docker build --build-arg "GITHUB_TOKEN=$GITHUB_TOKEN" -t kevholditch/demo .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment