mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-16 03:52:04 +00:00
Add docker build hook
This commit is contained in:
parent
f104c78c7c
commit
29eb1ce01e
2 changed files with 4 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
3
hooks/build
Normal file
3
hooks/build
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build --build-arg tor_version=${SOURCE_BRANCH:1} -f $DOCKERFILE_PATH -t $IMAGE_NAME .
|
Loading…
Add table
Reference in a new issue