Skip to content

Commit 66f2455

Browse files
committed
Update Makefile
1 parent 8415f6f commit 66f2455

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ build:
1414
#
1515
# Build Docker image
1616
#
17+
TAG ?= localhost/podsync
1718
.PHONY: docker
1819
docker:
1920
GOOS=linux GOARCH=amd64 go build -o podsync ./cmd/podsync
20-
docker build -t mxpv/podsync:unstable .
21-
docker push mxpv/podsync:unstable
21+
docker build -t $(TAG) .
22+
docker push $(TAG)
2223

2324
#
2425
# Pull GolangCI-Lint dependency

0 commit comments

Comments
 (0)