diff --git a/Makefile b/Makefile index 5d272cd..0039c5e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ test: tox tag: - git tag v$(TOR_VERSION) + git tag v$(TOR_VERSION) -f check: pre-commit run --all-files diff --git a/hooks/build b/hooks/build new file mode 100644 index 0000000..2fa1f9c --- /dev/null +++ b/hooks/build @@ -0,0 +1,3 @@ +#!/bin/bash + +docker build --build-arg tor_version=${SOURCE_BRANCH:1} -f $DOCKERFILE_PATH -t $IMAGE_NAME .