szurubooru/client/hooks/build

5 lines
189 B
Text
Raw Normal View History

2019-09-28 22:49:01 +02:00
#!/bin/sh
BUILD_INFO=docker-$(echo $SOURCE_COMMIT | cut -c1-7)-auto
echo "Using BUILD_INFO=$BUILD_INFO"
docker build --build-arg BUILD_INFO=$BUILD_INFO -f $DOCKERFILE_PATH -t $IMAGE_NAME .