fix(ci): add bash tests for lifecycle-hooks to the ci workflow

This commit is contained in:
Simon Aronsson 2019-07-26 18:52:01 +02:00
parent 73f21f7e0f
commit 524bcd8acd
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@ function cleanup {
}
trap cleanup EXIT
DEFAULT_WATCHTOWER="${GOPATH}/src/github.com/containrrr/watchtower/watchtower"
DEFAULT_WATCHTOWER="$(dirname "${BASH_SOURCE[0]}")/../watchtower"
WATCHTOWER=$1
WATCHTOWER=${WATCHTOWER:-$DEFAULT_WATCHTOWER}
echo "watchtower path is $WATCHTOWER"