Skip to content

Commit

Permalink
Added support for build and push package-scanner-cli (#76)
Browse files Browse the repository at this point in the history
* Added support for build and push package-scanner-cli

* Added support for push docker-cli

---------

Co-authored-by: ramanan-ravi <[email protected]>
  • Loading branch information
akumars1 and ramanan-ravi authored May 28, 2024
1 parent 2931619 commit 0de7189
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)/deepfence_package_scanner:$(DF_IMG_TAG) .
.PHONY: publish-docker-cli
publish-docker-cli:
docker push $(IMAGE_REPOSITORY)/deepfence_package_scanner_cli:$(DF_IMG_TAG)

.PHONY: docker-cli
docker-cli:
Expand Down

0 comments on commit 0de7189

Please sign in to comment.