From d2bde886e7cff27f88b32a576a6f3d0a00c8e876 Mon Sep 17 00:00:00 2001 From: a3hadi Date: Thu, 4 Jul 2024 10:42:00 -0400 Subject: [PATCH] replace repo with image_registry Signed-off-by: a3hadi --- pkg/mapper/examples/even_odd/Makefile | 8 ++++---- pkg/mapper/examples/flatmap/Makefile | 8 ++++---- pkg/mapper/examples/forward_message/Makefile | 8 ++++---- pkg/mapper/examples/retry/Makefile | 8 ++++---- pkg/mapper/examples/tickgen/Makefile | 8 ++++---- pkg/mapstreamer/examples/flatmap_stream/Makefile | 8 ++++---- pkg/reducer/examples/counter/Makefile | 8 ++++---- pkg/reducer/examples/sum/Makefile | 8 ++++---- pkg/reducestreamer/examples/counter/Makefile | 8 ++++---- pkg/reducestreamer/examples/sum/Makefile | 8 ++++---- pkg/sessionreducer/examples/counter/Makefile | 8 ++++---- pkg/sessionreducer/examples/sum/Makefile | 8 ++++---- pkg/sideinput/examples/map_sideinput/Makefile | 8 ++++---- pkg/sideinput/examples/map_sideinput/udf/Makefile | 8 ++++---- pkg/sideinput/examples/reduce_sideinput/Makefile | 8 ++++---- pkg/sideinput/examples/reduce_sideinput/udf/Makefile | 8 ++++---- pkg/sideinput/examples/sideinput_function/Makefile | 8 ++++---- pkg/sideinput/examples/simple_sideinput/Makefile | 8 ++++---- pkg/sideinput/examples/simple_sideinput/udf/Makefile | 8 ++++---- .../examples/simple_source_with_sideinput/Makefile | 8 ++++---- pkg/sideinput/examples/sink_sideinput/Makefile | 8 ++++---- pkg/sinker/examples/fallback/Makefile | 8 ++++---- pkg/sinker/examples/log/Makefile | 8 ++++---- pkg/sinker/examples/redis-sink/Makefile | 8 ++++---- pkg/sourcer/examples/simple_source/Makefile | 8 ++++---- pkg/sourcetransformer/examples/assign_event_time/Makefile | 8 ++++---- pkg/sourcetransformer/examples/event_time_filter/Makefile | 8 ++++---- 27 files changed, 108 insertions(+), 108 deletions(-) diff --git a/pkg/mapper/examples/even_odd/Makefile b/pkg/mapper/examples/even_odd/Makefile index 9faa18a4..a570d49d 100644 --- a/pkg/mapper/examples/even_odd/Makefile +++ b/pkg/mapper/examples/even_odd/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-even-odd:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-even-odd:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target even-odd . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target even-odd . --push .PHONY: image image: build - docker build -t ${REPO} --target even-odd . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target even-odd . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/mapper/examples/flatmap/Makefile b/pkg/mapper/examples/flatmap/Makefile index a13522ab..2050bbba 100644 --- a/pkg/mapper/examples/flatmap/Makefile +++ b/pkg/mapper/examples/flatmap/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-flatmap:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-flatmap:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target flatmap . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target flatmap . --push .PHONY: image image: build - docker build -t ${REPO} --target flatmap . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target flatmap . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/mapper/examples/forward_message/Makefile b/pkg/mapper/examples/forward_message/Makefile index e7915d61..ce0e1a00 100644 --- a/pkg/mapper/examples/forward_message/Makefile +++ b/pkg/mapper/examples/forward_message/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-forward-message:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-forward-message:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target forward-message . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target forward-message . --push .PHONY: image image: build - docker build -t ${REPO} --target forward-message . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target forward-message . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/mapper/examples/retry/Makefile b/pkg/mapper/examples/retry/Makefile index 18d32226..6d9d111a 100644 --- a/pkg/mapper/examples/retry/Makefile +++ b/pkg/mapper/examples/retry/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-retry:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-retry:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target retry . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target retry . --push .PHONY: image image: build - docker build -t ${REPO} --target map-retry . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target map-retry . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/mapper/examples/tickgen/Makefile b/pkg/mapper/examples/tickgen/Makefile index 28ca7957..f8960563 100644 --- a/pkg/mapper/examples/tickgen/Makefile +++ b/pkg/mapper/examples/tickgen/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-tickgen:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-tickgen:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target tickgen . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target tickgen . --push .PHONY: image image: build - docker build -t ${REPO} --target tickgen . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target tickgen . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/mapstreamer/examples/flatmap_stream/Makefile b/pkg/mapstreamer/examples/flatmap_stream/Makefile index ea5b6456..a60a60b4 100644 --- a/pkg/mapstreamer/examples/flatmap_stream/Makefile +++ b/pkg/mapstreamer/examples/flatmap_stream/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-flatmap-stream:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-flatmap-stream:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target flatmap_stream . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target flatmap_stream . --push .PHONY: image image: build - docker build -t ${REPO} --target flatmap_stream . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target flatmap_stream . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/reducer/examples/counter/Makefile b/pkg/reducer/examples/counter/Makefile index 85730982..314a42ed 100644 --- a/pkg/reducer/examples/counter/Makefile +++ b/pkg/reducer/examples/counter/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-counter:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-counter:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target counter . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target counter . --push .PHONY: image image: build - docker build -t ${REPO} --target counter . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target counter . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/reducer/examples/sum/Makefile b/pkg/reducer/examples/sum/Makefile index d19833f3..8ab394aa 100644 --- a/pkg/reducer/examples/sum/Makefile +++ b/pkg/reducer/examples/sum/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-sum:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-sum:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sum . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sum . --push .PHONY: image image: build - docker build -t ${REPO} --target sum . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sum . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/reducestreamer/examples/counter/Makefile b/pkg/reducestreamer/examples/counter/Makefile index 5aae334f..904e6e0b 100644 --- a/pkg/reducestreamer/examples/counter/Makefile +++ b/pkg/reducestreamer/examples/counter/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-stream-counter:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-stream-counter:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target counter . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target counter . --push .PHONY: image image: build - docker build -t ${REPO} --target counter . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target counter . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/reducestreamer/examples/sum/Makefile b/pkg/reducestreamer/examples/sum/Makefile index 51ef2247..b21bdfcc 100644 --- a/pkg/reducestreamer/examples/sum/Makefile +++ b/pkg/reducestreamer/examples/sum/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-stream-sum:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-stream-sum:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sum . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sum . --push .PHONY: image image: build - docker build -t ${REPO} --target sum . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sum . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sessionreducer/examples/counter/Makefile b/pkg/sessionreducer/examples/counter/Makefile index 078836ec..a3db1644 100644 --- a/pkg/sessionreducer/examples/counter/Makefile +++ b/pkg/sessionreducer/examples/counter/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/session-counter:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/session-counter:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target counter . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target counter . --push .PHONY: image image: build - docker build -t ${REPO} --target counter . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target counter . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sessionreducer/examples/sum/Makefile b/pkg/sessionreducer/examples/sum/Makefile index 3fd6770c..0e5165f2 100644 --- a/pkg/sessionreducer/examples/sum/Makefile +++ b/pkg/sessionreducer/examples/sum/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/session-sum:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/session-sum:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sum . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sum . --push .PHONY: image image: build - docker build -t ${REPO} --target sum . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sum . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/map_sideinput/Makefile b/pkg/sideinput/examples/map_sideinput/Makefile index ecba4285..af336d1f 100644 --- a/pkg/sideinput/examples/map_sideinput/Makefile +++ b/pkg/sideinput/examples/map_sideinput/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-sideinput:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-sideinput:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/map_sideinput/udf/Makefile b/pkg/sideinput/examples/map_sideinput/udf/Makefile index 0c31f40d..a904bd3c 100644 --- a/pkg/sideinput/examples/map_sideinput/udf/Makefile +++ b/pkg/sideinput/examples/map_sideinput/udf/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/map-sideinput-udf:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/map-sideinput-udf:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput-udf . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput-udf . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput-udf . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput-udf . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/reduce_sideinput/Makefile b/pkg/sideinput/examples/reduce_sideinput/Makefile index 0015b9f6..33f1df97 100644 --- a/pkg/sideinput/examples/reduce_sideinput/Makefile +++ b/pkg/sideinput/examples/reduce_sideinput/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-sideinput:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-sideinput:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/reduce_sideinput/udf/Makefile b/pkg/sideinput/examples/reduce_sideinput/udf/Makefile index 34118b94..5aec716b 100644 --- a/pkg/sideinput/examples/reduce_sideinput/udf/Makefile +++ b/pkg/sideinput/examples/reduce_sideinput/udf/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/reduce-sideinput-udf:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/reduce-sideinput-udf:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput-udf . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput-udf . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput-udf . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput-udf . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/sideinput_function/Makefile b/pkg/sideinput/examples/sideinput_function/Makefile index d6cf4546..2a7e3af3 100644 --- a/pkg/sideinput/examples/sideinput_function/Makefile +++ b/pkg/sideinput/examples/sideinput_function/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/sideinput-function:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/sideinput-function:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/simple_sideinput/Makefile b/pkg/sideinput/examples/simple_sideinput/Makefile index c294676c..25805b66 100644 --- a/pkg/sideinput/examples/simple_sideinput/Makefile +++ b/pkg/sideinput/examples/simple_sideinput/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/sideinput-example:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/sideinput-example:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/simple_sideinput/udf/Makefile b/pkg/sideinput/examples/simple_sideinput/udf/Makefile index 0d66b49e..16a1e0ae 100644 --- a/pkg/sideinput/examples/simple_sideinput/udf/Makefile +++ b/pkg/sideinput/examples/simple_sideinput/udf/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/udf-sideinput-example:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/udf-sideinput-example:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target udf-sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target udf-sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target udf-sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target udf-sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/simple_source_with_sideinput/Makefile b/pkg/sideinput/examples/simple_source_with_sideinput/Makefile index 9a7111e0..9d708bf1 100644 --- a/pkg/sideinput/examples/simple_source_with_sideinput/Makefile +++ b/pkg/sideinput/examples/simple_source_with_sideinput/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/simple-source-with-sideinput:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/simple-source-with-sideinput:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sideinput/examples/sink_sideinput/Makefile b/pkg/sideinput/examples/sink_sideinput/Makefile index 7cbe4c05..3a11d6ad 100644 --- a/pkg/sideinput/examples/sink_sideinput/Makefile +++ b/pkg/sideinput/examples/sink_sideinput/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/redis-sink-with-sideinput:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/redis-sink-with-sideinput:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target sideinput . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target sideinput . --push .PHONY: image image: build - docker build -t ${REPO} --target sideinput . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target sideinput . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sinker/examples/fallback/Makefile b/pkg/sinker/examples/fallback/Makefile index 3af90ab1..2e724ecd 100644 --- a/pkg/sinker/examples/fallback/Makefile +++ b/pkg/sinker/examples/fallback/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/fb-sink-log:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/fb-sink-log:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target fallback . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target fallback . --push .PHONY: image image: build - docker build -t ${REPO} --target fallback . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target fallback . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sinker/examples/log/Makefile b/pkg/sinker/examples/log/Makefile index 71f81e32..15248aa5 100644 --- a/pkg/sinker/examples/log/Makefile +++ b/pkg/sinker/examples/log/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/sink-log:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/sink-log:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target log . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target log . --push .PHONY: image image: build - docker build -t ${REPO} --target log . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target log . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sinker/examples/redis-sink/Makefile b/pkg/sinker/examples/redis-sink/Makefile index e2d113b7..c58383b7 100644 --- a/pkg/sinker/examples/redis-sink/Makefile +++ b/pkg/sinker/examples/redis-sink/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = "quay.io/numaio/numaflow-go/redis-sink:${TAG}" +IMAGE_REGISTRY = "quay.io/numaio/numaflow-go/redis-sink:${TAG}" .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target redis . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target redis . --push .PHONY: image image: build - docker build -t ${REPO} --target redis . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target redis . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sourcer/examples/simple_source/Makefile b/pkg/sourcer/examples/simple_source/Makefile index 7c31481a..2f37e477 100644 --- a/pkg/sourcer/examples/simple_source/Makefile +++ b/pkg/sourcer/examples/simple_source/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/source-simple-source:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/source-simple-source:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target simple-source . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target simple-source . --push .PHONY: image image: build - docker build -t ${REPO} --target simple-source . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target simple-source . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sourcetransformer/examples/assign_event_time/Makefile b/pkg/sourcetransformer/examples/assign_event_time/Makefile index 3af8476d..0cecf068 100644 --- a/pkg/sourcetransformer/examples/assign_event_time/Makefile +++ b/pkg/sourcetransformer/examples/assign_event_time/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/mapt-assign-event-time:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/mapt-assign-event-time:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target assign-event-time . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target assign-event-time . --push .PHONY: image image: build - docker build -t ${REPO} --target assign-event-time . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target assign-event-time . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist diff --git a/pkg/sourcetransformer/examples/event_time_filter/Makefile b/pkg/sourcetransformer/examples/event_time_filter/Makefile index d0b03be0..1e03c89f 100644 --- a/pkg/sourcetransformer/examples/event_time_filter/Makefile +++ b/pkg/sourcetransformer/examples/event_time_filter/Makefile @@ -1,6 +1,6 @@ TAG ?= stable PUSH ?= false -REPO = quay.io/numaio/numaflow-go/mapt-event-time-filter:${TAG} +IMAGE_REGISTRY = quay.io/numaio/numaflow-go/mapt-event-time-filter:${TAG} .PHONY: build build: @@ -8,12 +8,12 @@ build: .PHONY: image-push image-push: build - docker buildx build -t ${REPO} --platform linux/amd64,linux/arm64 --target event-time-filter . --push + docker buildx build -t ${IMAGE_REGISTRY} --platform linux/amd64,linux/arm64 --target event-time-filter . --push .PHONY: image image: build - docker build -t ${REPO} --target event-time-filter . - @if [ "$(PUSH)" = "true" ]; then docker push ${REPO}; fi + docker build -t ${IMAGE_REGISTRY} --target event-time-filter . + @if [ "$(PUSH)" = "true" ]; then docker push ${IMAGE_REGISTRY}; fi clean: -rm -rf ./dist