diff --git a/Makefile b/Makefile index e931341..74d0a8a 100644 --- a/Makefile +++ b/Makefile @@ -29,9 +29,9 @@ cli: vendor $(PWD)/**/*.go $(PWD)/agent-plugins-grpc/**/*.go package-scanner: vendor $(PWD)/**/*.go $(PWD)/agent-plugins-grpc/**/*.go CGO_ENABLED=0 go build -buildvcs=false -v -ldflags="-s -w -extldflags=-static" . -.PHONY: docker -docker: - docker build -t $(IMAGE_REPOSITORY)/khulnasoft_package_scanner:$(DF_IMG_TAG) . +.PHONY: publish-docker-cli +publish-docker-cli: + docker push $(IMAGE_REPOSITORY)/khulnasoft_package_scanner_cli:$(DF_IMG_TAG) .PHONY: docker-cli docker-cli: