Tweak makefile to match up with docker repo (#231)

This commit is contained in:
Grant Murphy 2018-08-19 10:28:17 +10:00 committed by GitHub
parent 9577fd0b44
commit 1c438e36af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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