From 7bb4d350248a8178534dd832d47cfd39abc7779e Mon Sep 17 00:00:00 2001
From: Aliaksandr Valialkin <valyala@victoriametrics.com>
Date: Tue, 20 Dec 2022 12:32:59 -0800
Subject: [PATCH] deployment/docker: do not publish lts releases with the
 `latest` tag at DockerHub

This should prevent from overwriting the real `latest` images published
from the latest releases of VictoriaMetrics
---
 deployment/docker/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile
index 274022d083..e0d7f85b7e 100644
--- a/deployment/docker/Makefile
+++ b/deployment/docker/Makefile
@@ -74,7 +74,6 @@ publish-via-docker: \
 		--build-arg root_image=$(ROOT_IMAGE) \
 		--build-arg APP_NAME=$(APP_NAME) \
 		--tag $(DOCKER_NAMESPACE)/$(APP_NAME):$(PKG_TAG)$(RACE) \
-		--tag $(DOCKER_NAMESPACE)/$(APP_NAME):latest$(RACE) \
 		-o type=image \
 		-f app/$(APP_NAME)/multiarch/Dockerfile \
 		--push \