cuddle-rust-service-plan/scripts/build_release.sh

18 lines
304 B
Bash
Raw Normal View History

2022-08-10 22:54:58 +02:00
#!/bin/bash
echo "building docker image"
tag="$REGISTRY/$NAME:${commit_sha:0:10}"
if [[ -n $DEBUG ]]
then
echo "debug:"
echo " REGISTRY: $REGISTRY"
echo " NAME: $NAME"
echo " tag: $tag"
echo " pwd: $PWD"
echo " cwd: $CWD"
fi
docker build -t "$tag" "$TMP/build_release.Dockerfile" .