Add docker build hook

This commit is contained in:
Christophe Mehay 2019-04-29 23:23:30 +02:00
parent a348494092
commit 9d0ce3f8ca
2 changed files with 4 additions and 1 deletions

3
hooks/build Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
docker build --build-arg tor_version=${SOURCE_BRANCH:1} -f $DOCKERFILE_PATH -t $IMAGE_NAME .