mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Tweak makefile to match up with docker repo (#231)
This commit is contained in:
parent
9577fd0b44
commit
1c438e36af
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -1,7 +1,7 @@
|
|||
GIT_TAG?= $(shell git describe --always --tags)
|
||||
BIN = gosec
|
||||
FMT_CMD = $(gofmt -s -l -w $(find . -type f -name '*.go' -not -path './vendor/*') | tee /dev/stderr)
|
||||
IMAGE_REPO = docker.io
|
||||
IMAGE_REPO = securego
|
||||
BUILDFLAGS := ''
|
||||
CGO_ENABLED = 0
|
||||
|
||||
|
@ -41,8 +41,7 @@ image: build-linux
|
|||
|
||||
image-push: image
|
||||
@echo "Pushing the Docker image..."
|
||||
|
||||
docker push $(IMAGE_REPO)/$(BIN):$(GIT_TAG)
|
||||
docker push $(IMAGE_REPO)/$(BIN):$(GIT_TAG)
|
||||
docker push $(IMAGE_REPO)/$(BIN):latest
|
||||
|
||||
.PHONY: test build clean release image image-push
|
||||
|
|
Loading…
Reference in a new issue