2022-10-06 20:10:05 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# RUN IN REPO ROOT DIR !!
|
|
|
|
|
2022-12-03 23:36:59 +01:00
|
|
|
export IMAGE_BASE="git.pbiernat.dev/egommerce/identity"
|
|
|
|
export SERVER_IMAGE="$IMAGE_BASE-svc"
|
|
|
|
# export WORKER_IMAGE="$IMAGE_BASE-worker"
|
|
|
|
|
|
|
|
TARGET=${1:-latest}
|
2022-10-06 20:10:05 +02:00
|
|
|
|
2022-12-05 05:26:24 +01:00
|
|
|
docker login git.pbiernat.dev
|
2022-12-03 23:36:59 +01:00
|
|
|
docker push "$SERVER_IMAGE:$TARGET"
|
|
|
|
# docker push "$WORKER_IMAGE:$TARGET"
|