Skip to content

Commit 63d0c39

Browse files
committed
Added docker image
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent f4ce8d7 commit 63d0c39

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM alpine:3.7
2+
3+
COPY dist/linux_amd64/tunnel /usr/local/bin
4+
5+
ENTRYPOINT ["tunnel"]

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
IMAGE = labstack/tunnel
12
VERSION = 0.2.8
23

34
publish:
45
git tag $(VERSION)
56
git push origin --tags
67
goreleaser --rm-dist
8+
docker build -t $(IMAGE):$(VERSION) -t $(IMAGE) .
9+
docker push $(IMAGE):$(VERSION)
10+
docker push $(IMAGE):latest
711

812
.PHONY: publish

0 commit comments

Comments
 (0)