diff --git a/Makefile b/Makefile
index 4d695497dc..c92b8abe26 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ all: \
 clean:
 	rm -rf bin/*
 
-publish: docker-scan \
+publish: package-base \
 	publish-victoria-metrics \
 	publish-vmagent \
 	publish-vmalert \
diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile
index d832511193..bfe12673ac 100644
--- a/deployment/docker/Makefile
+++ b/deployment/docker/Makefile
@@ -17,9 +17,6 @@ package-base:
 			--tag $(BASE_IMAGE) \
 			deployment/docker/base
 
-docker-scan: package-base
-	docker scan --severity=medium --accept-license $(BASE_IMAGE) || (echo "❌ The build has been terminated because critical vulnerabilities were found in $(BASE_IMAGE)"; exit 1)
-
 package-builder:
 	(docker image ls --format '{{.Repository}}:{{.Tag}}' | grep -q '$(BUILDER_IMAGE)$$') \
 		|| docker build \