From 1232de32bb1b9764cabafc68d8f8419b1a01cbef Mon Sep 17 00:00:00 2001 From: Keran Yang Date: Thu, 18 Apr 2024 00:31:20 -0400 Subject: [PATCH] chore: update log-sink example Makefile (#123) --- pkg/sinker/examples/fallback/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sinker/examples/fallback/Makefile b/pkg/sinker/examples/fallback/Makefile index 2d7a7445..1cdc7dda 100644 --- a/pkg/sinker/examples/fallback/Makefile +++ b/pkg/sinker/examples/fallback/Makefile @@ -3,15 +3,15 @@ PUSH ?= false .PHONY: build build: - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o ./dist/log-example main.go + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o ./dist/fallback-example main.go .PHONY: image-push image-push: build - docker buildx build -t "quay.io/numaio/numaflow-go/fb-sink-log:${TAG}" --platform linux/amd64,linux/arm64 --target log . --push + docker buildx build -t "quay.io/numaio/numaflow-go/fb-sink-log:${TAG}" --platform linux/amd64,linux/arm64 --target fallback . --push .PHONY: image image: build - docker build -t "quay.io/numaio/numaflow-go/fb-sink-log:${TAG}" --target log . + docker build -t "quay.io/numaio/numaflow-go/fb-sink-log:${TAG}" --target fallback . @if [ "$(PUSH)" = "true" ]; then docker push "quay.io/numaio/numaflow-go/fb-sink-log:${TAG}"; fi clean: