Skip to content

Commit 70cc114

Browse files
committed
add version to makefile
1 parent 7f55e01 commit 70cc114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version := $(shell git describe --abbrev=0 --tags)
33

44
all: docker-build docker-push
55
docker-build:
6-
docker build -t hub.yottab.io/library/example-monitoring-nodejs:latest .
6+
docker build -t hub.yottab.io/library/example-monitoring-nodejs:$(version) .
77

88

99
docker-push:
10-
docker push hub.yottab.io/library/example-monitoring-nodejs:latest
10+
docker push hub.yottab.io/library/example-monitoring-nodejs:$(version)

0 commit comments

Comments
 (0)