This commit is contained in:
PB
2025-12-13 13:13:15 +01:00
parent e2834e1a7a
commit 69ba2f4232
6 changed files with 12 additions and 182 deletions

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

@@ -0,0 +1,10 @@
#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_NAME="git.ego.freeddns.org/egommerce/api-gateway"
# export IMAGE_NAME="localhost:32000/egommerce/api-gateway"
TARGET=${1:-latest}
echo $DOCKER_PASSWORD | docker login git.ego.freeddns.org -u $DOCKER_USERNAME --password-stdin
docker push "$IMAGE_NAME:$TARGET"