This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/client/hooks/build
2019-04-21 13:03:39 -04:00

4 lines
191 B
Bash
Executable file

#!/bin/bash
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 .