diff --git a/deploy/image-push.sh b/deploy/image-push.sh index 7965a91..c6657c8 100755 --- a/deploy/image-push.sh +++ b/deploy/image-push.sh @@ -3,5 +3,7 @@ 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 -docker push "$IMAGE_NAME:latest" +docker push "$IMAGE_NAME:$TARGET"