api-logger/deploy/image-push.sh

10 lines
242 B
Bash
Raw Normal View History

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