Skip to content

Commit

Permalink
added docker push in makefile windows (NetApp#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivangbhar authored May 31, 2022
1 parent 702f33b commit e292d30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile_Windows
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}

0 comments on commit e292d30

Please sign in to comment.