deploy script fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Piotr Biernat 2022-12-02 22:39:13 +01:00
parent 933dfbced6
commit 85377e241b

View File

@ -3,5 +3,7 @@
export IMAGE_NAME="git.pbiernat.dev/egommerce/api-gateway" export IMAGE_NAME="git.pbiernat.dev/egommerce/api-gateway"
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"