From 6d2b2f4a793fe6f9321fa5ed164af1fd3520e01b Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 27 Feb 2019 15:13:49 -0800 Subject: Simplify local Docker image build --- hooks/build | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 hooks/build (limited to 'hooks') 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 . -- cgit v1.2.3