catalog-service/deploy/image-push.sh
Piotr Biernat 27b1f1fb35
Some checks failed
continuous-integration/drone/push Build is failing
:Huge REFACTORING
2022-11-29 22:40:58 +01:00

11 lines
333 B
Bash
Executable File

#!/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"