You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
|
|
TAG=$(git describe --abbrev=0 --tags 2>/dev/null || git rev-parse --short HEAD) |
|
|
|
if [[ $1 == 'test' ]]; then |
|
TAG="test" |
|
fi |
|
|
|
IMAGE="ohyee/blotter_page:${TAG}" |
|
echo $IMAGE |
|
docker build -t ${IMAGE} .
|
|
|