We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c445b4 commit 39b3d6dCopy full SHA for 39b3d6d
Makefile
@@ -1,7 +1,4 @@
1
-# increase version before deploy
2
-VERSION = 1.0
3
NAME = nginx-php5.6
4
-IMAGE_NAME = navidonskis/nginx-php5.6
5
6
build:
7
docker build -t $(NAME) .
@@ -11,11 +8,3 @@ exec:
11
8
docker exec -it $(NAME) /bin/bash
12
9
clean:
13
10
docker stop $(NAME) && docker rm $(NAME)
14
-deploy:
15
- # build an image and tag a latest version
16
- @$(MAKE) build
17
- # tag and increase version
18
- docker tag $(NAME) $(IMAGE_NAME):$(VERSION)
19
- docker tag $(NAME) $(IMAGE_NAME):latest
20
- # push to registry
21
- docker push $(IMAGE_NAME)
0 commit comments