From e292d302d4d7b42ff6ad7c42676926859cb86ca9 Mon Sep 17 00:00:00 2001 From: shivangbhar <97271159+shivangbhar@users.noreply.github.com> Date: Tue, 31 May 2022 10:48:17 +0530 Subject: [PATCH] added docker push in makefile windows (#954) --- Makefile_Windows | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile_Windows b/Makefile_Windows index d898c30cb..ca2469ad2 100644 --- a/Makefile_Windows +++ b/Makefile_Windows @@ -46,7 +46,7 @@ DR_WINDOWS = docker run \ GO_WINDOWS = ${DR_WINDOWS} ${GO_CMD} -.PHONY: default trident_build_windows +.PHONY: default trident_build_windows push ## version variables TRIDENT_VERSION ?= ${VERSION} @@ -85,3 +85,5 @@ endif @copy ${BIN_DIR}\${BIN} ${ROOT}\${BIN} @copy ${BIN_DIR}\${CLI_BIN} ${ROOT}\${CLI_BIN} docker build --file Dockerfile.Windows --build-arg ARCH=${GOARCH} --build-arg WINDOWS_VERSION=${WINDOWS_IMG_VERSION} --build-arg PORT=${PORT} --build-arg BIN=${BIN} --build-arg CLI_BIN=${CLI_BIN} --build-arg K8S=${K8S} -t ${TRIDENT_DIST_TAG} --rm . +push: + docker push ${TRIDENT_DIST_TAG}