Update scripts to hell and back

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-15 16:22:08 +00:00
parent f57b1b1670
commit 8b77e1e70f
6 changed files with 61 additions and 86 deletions

6
docker/build.sh Normal file → Executable file
View file

@ -10,4 +10,8 @@ DOCKER_BUILDKIT=${DOCKER_BUILDKIT:-"0"} \
docker build \
-t $TAG \
-f "$DOCKERFILE" \
"$CONTEXT"
"$CONTEXT"
if [[ $DEPLOY != "" ]]; then
docker push "$TAG"
fi