Skip to content

Commit 39b3d6d

Browse files
author
Donatas
committed
remove deploy task from Makefile
1 parent 2c445b4 commit 39b3d6d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Makefile

-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# increase version before deploy
2-
VERSION = 1.0
31
NAME = nginx-php5.6
4-
IMAGE_NAME = navidonskis/nginx-php5.6
52

63
build:
74
docker build -t $(NAME) .
@@ -11,11 +8,3 @@ exec:
118
docker exec -it $(NAME) /bin/bash
129
clean:
1310
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

Comments
 (0)