deploy script fix

This commit is contained in:
Piotr Biernat 2022-12-02 22:38:38 +01:00
parent 70a863e2d1
commit 80ad8ec026

View File

@ -3,5 +3,7 @@
export IMAGE_NAME="git.pbiernat.dev/egommerce/api-eventbus" export IMAGE_NAME="git.pbiernat.dev/egommerce/api-eventbus"
TARGET=${1:-latest}
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
docker push "$IMAGE_NAME:latest" docker push "$IMAGE_NAME:$TARGET"