catalog-service/deploy/image-push.sh

11 lines
333 B
Bash
Raw Normal View History

2022-11-29 22:40:58 +01:00
#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_BASE="git.pbiernat.dev/egommerce/catalog"
export SERVER_IMAGE="$IMAGE_BASE-svc"
export WORKER_IMAGE="$IMAGE_BASE-worker"
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
docker push "$SERVER_IMAGE:latest"
docker push "$WORKER_IMAGE:latest"