diff --git a/Makefile b/Makefile index d3a2aece0a71..99968af0457f 100644 --- a/Makefile +++ b/Makefile @@ -172,9 +172,11 @@ docker buildx bake --allow=fs.read=.. \ ,--load\ )\ )\ + $(foreach service, $(SERVICES_NAMES_TO_BUILD),\ + --set $(service).tags=$(DOCKER_REGISTRY)/$(service):$(DOCKER_IMAGE_TAG) \ + ) \ $(if $(push),\ $(foreach service, $(SERVICES_NAMES_TO_BUILD),\ - --set $(service).tags=$(DOCKER_REGISTRY)/$(service):$(DOCKER_IMAGE_TAG) \ --set $(service).output="type=registry$(comma)push=true" \ )\ ,) \