Skip to content

Commit

Permalink
add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 committed Aug 18, 2022
1 parent b664f6f commit 6035857
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
IMAGE := keppel.eu-de-1.cloud.sap/ccloud/ccloud-nodecidr-controller
VERSION ?= 2.0.0

.PHONY: all

all: build push

build:
docker build -t $(IMAGE):$(VERSION) .

push: build
docker push ${IMAGE}:${VERSION}

docker-push-mac:
docker buildx build --platform linux/amd64 . -t ${IMAGE}:${VERSION} --push

0 comments on commit 6035857

Please sign in to comment.