mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +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
3
Makefile
3
Makefile
|
@ -1,7 +1,7 @@
|
||||||
GIT_TAG?= $(shell git describe --always --tags)
|
GIT_TAG?= $(shell git describe --always --tags)
|
||||||
BIN = gosec
|
BIN = gosec
|
||||||
FMT_CMD = $(gofmt -s -l -w $(find . -type f -name '*.go' -not -path './vendor/*') | tee /dev/stderr)
|
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 := ''
|
BUILDFLAGS := ''
|
||||||
CGO_ENABLED = 0
|
CGO_ENABLED = 0
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ image: build-linux
|
||||||
|
|
||||||
image-push: image
|
image-push: image
|
||||||
@echo "Pushing the Docker 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
|
docker push $(IMAGE_REPO)/$(BIN):latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue