Sign in
apache
/
bookkeeper
/
503e0c29b5acd99f0ec52449f412cb3dbeb7ae90
/
.
/
docker
/
hooks
/
build
blob: c7b0faa566718d290b96f7c33f3745ba3a882709 [
file
] [
log
] [
blame
]
#!/bin/bash
set
-
x
# When we build 'latest' tag we want to not override BK_VERSION variable
if
[[
"$DOCKER_TAG"
=
"latest"
]]
then
docker build
-
t $IMAGE_NAME
.
else
docker build
--
build
-
arg BK_VERSION
=
$DOCKER_TAG
-
t $IMAGE_NAME
.
fi