[VOL-2993] Adding support to push '-profile' images
Change-Id: Iea959031ae10fc740b4459f42ff65684d702874d
diff --git a/Makefile b/Makefile
index 3ccec0f..a46c4e3 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,9 @@
docker-push: ## Push the docker images to an external repository
docker push ${ADAPTER_IMAGENAME}
+ifdef BUILD_PROFILED
+ docker push ${ADAPTER_IMAGENAME}-profile
+endif
docker-kind-load: ## Load docker images into a KinD cluster
@if [ "`kind get clusters | grep voltha-$(TYPE)`" = '' ]; then echo "no voltha-$(TYPE) cluster found" && exit 1; fi