identity-service/deploy/image-push.sh
Piotr Biernat 2e67274cc2
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
build fix and pkg update
2022-12-05 05:26:24 +01:00

13 lines
300 B
Bash
Executable File

#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_BASE="git.pbiernat.dev/egommerce/identity"
export SERVER_IMAGE="$IMAGE_BASE-svc"
# export WORKER_IMAGE="$IMAGE_BASE-worker"
TARGET=${1:-latest}
docker login git.pbiernat.dev
docker push "$SERVER_IMAGE:$TARGET"
# docker push "$WORKER_IMAGE:$TARGET"