diff --git a/test-docker.sh b/test-docker.sh index 2dcc7f7..7d8dd6a 100755 --- a/test-docker.sh +++ b/test-docker.sh @@ -15,11 +15,6 @@ function title() { echo "----------------------------------------" } -function die() { - title "error: $1" - exit 1 -} - #------------------------------------------------------------------------------------------------ # build the executable title "Building amd64 executable" @@ -28,7 +23,7 @@ title "Building amd64 executable" #------------------------------------------------------------------------------------------------ # build the docker image title "Building docker image" -docker buildx build --load -t gitea.jde.nz/public/simple-object-storage:test --platform linux/amd64 . +docker buildx build --load -t gitea.jde.nz/public/simple-object-storage:test --platform linux/amd64 "${SCRIPT_DIR}" #------------------------------------------------------------------------------------------------ # run the docker container