From 9852f7ed54fc2885a24e7f1bded7fd4027d41d59 Mon Sep 17 00:00:00 2001 From: Eran Cohen Date: Wed, 17 Jun 2020 11:33:09 +0300 Subject: [PATCH] Added update target to the makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 8980769..85a3317 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,14 @@ +SERVICE := $(or ${SERVICE},quay.io/ocpmetal/ignition-manifests-and-kubeconfig-generate:latest) + + all: pep8 pylint build build: skipper build ignition-manifests-and-kubeconfig-generate +update: build + GIT_REVISION=${GIT_REVISION} docker build --build-arg GIT_REVISION -t $(SERVICE) -f Dockerfile.ignition-manifests-and-kubeconfig-generate . + docker push $(SERVICE) + .DEFAULT: skipper -v $(MAKE) $@ \ No newline at end of file