From 641b3523cfa4cecf31d031903bc72466d9f08e51 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Sat, 23 Nov 2019 13:25:23 -0800 Subject: [PATCH] Minor Makefile fixes --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4b24208a..4183f2ed 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,9 @@ build: # .PHONY: docker docker: - docker build -t mxpv/podsync:latest . + GOOS=linux GOARCH=amd64 go build -o podsync ./cmd/podsync + docker build -t mxpv/podsync:unstable . + docker push mxpv/podsync:unstable # # Pull GolangCI-Lint dependency @@ -37,4 +39,4 @@ lint: $(GOLANGCI) # .PHONY: test test: - go test ./... + go test -v ./...