Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion fleetconfig-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ $(foreach flavour,$(IMAGE_FLAVOURS),\
$(eval VARIANT := $(word 1,$(subst :, ,$(flavour)))) \
$(eval VARIANT_TAG := $(if $(filter base,$(VARIANT)),$(IMAGE_TAG),$(IMAGE_TAG)-$(VARIANT))) \
$(eval DOCKERFILE := $(word 2,$(subst :, ,$(flavour)))) \
$(eval $(call build-image,$(IMAGE_REPO),$(IMAGE_REGISTRY)/$(IMAGE_REPO):$(VARIANT_TAG),$(DOCKERFILE),.)) \
$(eval $(call build-image,$(IMAGE_REPO)-$(VARIANT),$(IMAGE_REGISTRY)/$(IMAGE_REPO):$(VARIANT_TAG),$(DOCKERFILE),.)) \
)

# Create a single images target that builds all variants
.PHONY: images
images: $(foreach flavour,$(IMAGE_FLAVOURS),image-$(IMAGE_REPO)-$(word 1,$(subst :, ,$(flavour))))

.PHONY: image-push
image-push:
$(foreach flavour,$(IMAGE_FLAVOURS),\
Expand Down
Loading