diff options
author | Frédéric Guillot <fred@kanboard.net> | 2019-02-27 15:13:49 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-02-27 17:50:18 -0800 |
commit | 6d2b2f4a793fe6f9321fa5ed164af1fd3520e01b (patch) | |
tree | e3eef95cd2979946e0f27ca9cbcc8ab57b061c3c /hooks/build | |
parent | 4a400951226da20f05472504a5e992981298734e (diff) |
Simplify local Docker image build
Diffstat (limited to 'hooks/build')
-rwxr-xr-x | hooks/build | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/hooks/build b/hooks/build deleted file mode 100755 index 043be1f7..00000000 --- a/hooks/build +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -VERSION=master - -if [ "$SOURCE_BRANCH" != "" ]; then - VERSION=$SOURCE_BRANCH - - if [ "$SOURCE_BRANCH" == "latest" ]; then - VERSION=master - fi -fi - -echo "Building $VERSION" - -docker build --build-arg VERSION=$VERSION -t $IMAGE_NAME . |