basket-service/deploy/image-push.sh
Piotr Biernat 005dbd53bc
Some checks failed
continuous-integration/drone/push Build is failing
Huge refactoring
2022-11-29 22:42:26 +01:00

11 lines
332 B
Bash
Executable File

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