api-eventbus/deploy/image-push.sh

10 lines
244 B
Bash
Raw Normal View History

2022-11-30 02:28:31 +01:00
#!/bin/sh
# RUN IN REPO ROOT DIR !!
export IMAGE_NAME="git.pbiernat.dev/egommerce/api-eventbus"
2022-12-02 22:38:38 +01:00
TARGET=${1:-latest}
2022-11-30 02:28:31 +01:00
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
2022-12-02 22:38:38 +01:00
docker push "$IMAGE_NAME:$TARGET"