Skip to content

Commit 763882c

Browse files
authored
Makefile: add TAG for build/push (#28)
1 parent e8fb50c commit 763882c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
.PHONY: build push test
22

3+
TAG:=2
4+
35
build:
4-
docker build -t testbed/vim .
6+
docker build -t testbed/vim:$(TAG) .
57

68
push:
7-
docker push testbed/vim
9+
docker push testbed/vim:$(TAG)
810

911
# test: build the base image and example image on top, running tests therein.
1012
DOCKER_BASE_IMAGE:=vim-testbed-base

0 commit comments

Comments
 (0)