Do not publish latest docker image for LTS

This is a LTS version, so it will get releases for a year.

However, we do not want to push :latest for the LTS, so we skip them in
this release branch.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
Julien Pivotto 2023-07-28 11:43:20 +02:00
parent 8ef767e396
commit 8d803c858b

View file

@ -29,6 +29,23 @@ include Makefile.common
DOCKER_IMAGE_NAME ?= prometheus
docker-tag-latest:
@echo Skipping latest
docker-publish:
ifneq ($(DOCKER_IMAGE_TAG),latest)
$(MAKE) common-docker-publish
else
@echo Skipping latest
endif
docker-manifest:
ifneq ($(DOCKER_IMAGE_TAG),latest)
$(MAKE) common-docker-manifest
else
@echo Skipping latest
endif
.PHONY: update-npm-deps
update-npm-deps:
@echo ">> updating npm dependencies"