mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
build: use CSI_IMAGE_VERSION in makefile
updated makefile to use CSI_IMAGE_VERSION from build.env Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
e82cd8339c
commit
cd96b3359b
2
Makefile
2
Makefile
@ -23,7 +23,7 @@ CPUS?=$(shell nproc --ignore=1)
|
||||
CPUSET?=--cpuset-cpus=0-${CPUS}
|
||||
|
||||
CSI_IMAGE_NAME=$(if $(ENV_CSI_IMAGE_NAME),$(ENV_CSI_IMAGE_NAME),quay.io/cephcsi/cephcsi)
|
||||
CSI_IMAGE_VERSION=$(if $(ENV_CSI_IMAGE_VERSION),$(ENV_CSI_IMAGE_VERSION),canary)
|
||||
CSI_IMAGE_VERSION=$(shell . $(CURDIR)/build.env ; echo $${CSI_IMAGE_VERSION})
|
||||
CSI_IMAGE=$(CSI_IMAGE_NAME):$(CSI_IMAGE_VERSION)
|
||||
|
||||
# Pass USE_PULLED_IMAGE=yes to skip building a new :test or :devel image.
|
||||
|
Loading…
Reference in New Issue
Block a user