Skip to content

Commit

Permalink
Tweak makefile to match up with docker repo (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmurphy committed Aug 19, 2018
1 parent 9577fd0 commit 1c438e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1c438e3

Please sign in to comment.