6 lines
278 B
Bash
6 lines
278 B
Bash
|
if [ -z "${RELEASE_TOKEN}" ]; then
|
||
|
echo "Please set the RELEASE_TOKEN env var."
|
||
|
exit 1
|
||
|
fi
|
||
|
docker build -f build.Dockerfile -t lemur-build .
|
||
|
docker run -it --rm -e RELEASE_TOKEN="${RELEASE_TOKEN}" -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-release.sh
|