added drone
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2022-08-20 23:39:36 +02:00
parent 83b62a4953
commit 295acff548
13 changed files with 297 additions and 0 deletions

17
scripts/build_release.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
if [[ -n $DEBUG ]]
then
echo "debug:"
echo " REGISTRY: $REGISTRY"
echo " SERVICE: $SERVICE"
echo " COMMIT_SHA: $COMMIT_SHA"
echo " TMP: $TMP"
fi
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_release.Dockerfile" .