api-gateway/deploy/image-push.sh
Piotr Biernat 5c4a1c04c8
All checks were successful
continuous-integration/drone/push Build is passing
drone ci fix
2022-10-06 17:49:58 +02:00

8 lines
219 B
Bash
Executable File

#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_NAME="git.pbiernat.dev/egommerce/apigw-svc"
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
docker push "$IMAGE_NAME:latest"