blob: f245083f752ed038a37a36d1cf9079f9e1a662d3 [file] [log] [blame]
#!/bin/bash
# When we build 'latest' tag we want to not override BK_VERSION variable
if [[ $DOCKER_TAG = "latest" ]]
then
docker build --build-arg -t $IMAGE_NAME .
else
docker build --build-arg BK_VERSION=$DOCKER_TAG -t $IMAGE_NAME .
fi