diff --git a/deploy/image-push.sh b/deploy/image-push.sh index 5dfca8f..a684fbd 100755 --- a/deploy/image-push.sh +++ b/deploy/image-push.sh @@ -3,5 +3,7 @@ export IMAGE_NAME="git.pbiernat.dev/egommerce/api-registry" +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"