Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit c8bacc7

Browse files
committed
publish to ckerhub
1 parent ff59288 commit c8bacc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,10 @@ build-all: build build-shrink build-gccgo build-gccgo-gold
5353
clean:
5454
rm -rf ./bin
5555
go clean
56+
57+
# publish docker to hub
58+
publish:
59+
docker build --tag sokil/statsd-http-proxy:latest -f ./Dockerfile.alpine .
60+
docker push sokil/statsd-http-proxy:latest
61+
docker build --tag sokil/statsd-http-proxy:$(VERSION) -f ./Dockerfile.alpine .
62+
docker push sokil/statsd-http-proxy:$(VERSION)

0 commit comments

Comments
 (0)