We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33780d8 commit a4bd2e2Copy full SHA for a4bd2e2
Makefile
@@ -3,8 +3,8 @@ VERSION = latest
3
FILE = Dockerfile
4
5
image:
6
- sed "s/{{ version }}/$(VERSION)/g" $(FILE)
7
- docker build -f $(FILE) -t $(IMAGE):$(VERSION) .
+ sed "s/{{ version }}/$(VERSION)/g" $(FILE) > /tmp/$(FILE)
+ docker build -f /tmp/$(FILE) -t $(IMAGE):$(VERSION) .
8
9
push:
10
docker push $(IMAGE):$(VERSION)
0 commit comments