Skip to content

Commit

Permalink
Update Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
cruizen committed Sep 24, 2024
1 parent 5d18c93 commit 655b425
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ SHELL=/bin/bash
#IMG ?= controller:latest

ifndef OVERRIDE_LUIGI_VERSION
ifneq ($(strip $(OVERRIDE_LUIGI_VERSION)),)
IMG_TAG = $(shell ./get-label.bash)
else
ifneq ($(strip $(OVERRIDE_LUIGI_VERSION)),)
IMG_TAG ?= $(OVERRIDE_LUIGI_VERSION)
else
IMG_TAG = $(shell ./get-label.bash)
endif
endif
IMG_TAG = $(shell ./get-label.bash)
Expand Down
4 changes: 3 additions & 1 deletion hostplumber/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ SHELL=/bin/bash
# Image URL to use all building/pushing image targets

ifndef OVERRIDE_HOSTPLUMBER_VERSION
ifneq ($(strip $(OVERRIDE_HOSTPLUMBER_VERSION)),)
IMG_TAG = $(shell ./get-label.bash)
else
ifneq ($(strip $(OVERRIDE_HOSTPLUMBER_VERSION)),)
IMG_TAG ?= $(OVERRIDE_HOSTPLUMBER_VERSION)
else
IMG_TAG = $(shell ./get-label.bash)
endif
endif
IMG ?= quay.io/platform9/hostplumber:$(IMG_TAG)
Expand Down

0 comments on commit 655b425

Please sign in to comment.