Skip to content

Commit a4bd2e2

Browse files
committed
Fix version passing to docker image.
1 parent 33780d8 commit a4bd2e2

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 = latest
33
FILE = Dockerfile
44

55
image:
6-
sed "s/{{ version }}/$(VERSION)/g" $(FILE)
7-
docker build -f $(FILE) -t $(IMAGE):$(VERSION) .
6+
sed "s/{{ version }}/$(VERSION)/g" $(FILE) > /tmp/$(FILE)
7+
docker build -f /tmp/$(FILE) -t $(IMAGE):$(VERSION) .
88

99
push:
1010
docker push $(IMAGE):$(VERSION)

0 commit comments

Comments
 (0)