From 6d9eed4d33ed437b1c7066e2bd27cd50cf9eb23e Mon Sep 17 00:00:00 2001 From: Gabor Seljan Date: Sun, 31 May 2020 20:34:45 +0200 Subject: [PATCH] Add build hook for DockerHub https://github.com/docker/hub-feedback/issues/508#issuecomment-222520720 --- hooks/build | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 hooks/build diff --git a/hooks/build b/hooks/build new file mode 100644 index 0000000..cfba4cd --- /dev/null +++ b/hooks/build @@ -0,0 +1,2 @@ +#!/bin/sh +docker build --build-arg VERSION=$SOURCE_BRANCH -t $IMAGE_NAME .