order-service/deploy/image-push.sh
Piotr Biernat 14145d3dea
Some checks failed
continuous-integration/drone/push Build is failing
Huge refactoring
2022-11-29 22:38:04 +01:00

11 lines
331 B
Bash
Executable File

#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_BASE="git.pbiernat.dev/egommerce/order"
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"