Refactoring

This commit is contained in:
PB
2025-11-06 17:55:56 +01:00
parent 988479dc5d
commit 3d8cd00256
24 changed files with 133 additions and 152 deletions

14
deploy/scripts/image-push.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_PREFIX="git.ego.freeddns.org/egommerce/identity"
export SERVER_IMAGE="$IMAGE_PREFIX-svc"
TARGET=${1:-latest}
echo $DOCKER_PASSWORD | docker login git.ego.freeddns.org -u $DOCKER_USERNAME --password-stdin
docker push "$SERVER_IMAGE:$TARGET"
# Restart container
# TODO