File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,17 @@ ifeq ($(branch), latest)
1212endif
1313
1414
15- # # Make remote image form a branch make image branch=<branchName> (master default)
1615IMAGE_URL ?= $(CI_REGISTRY ) /ubuntu:latest
1716ifndef CI_REGISTRY
1817 IMAGE_URL = 'ubuntu:latest'
1918endif
2019
20+ # # Make remote image form a branch make image branch=<branchName> (master default)
21+ image : requirements.txt copy-app
22+ docker build -t $(NAME_IMAGE ) :$(TAG_IMAGE ) .
23+ docker push $(NAME_IMAGE ) :$(TAG_IMAGE )
24+ docker tag $(NAME_IMAGE ) :$(TAG_IMAGE ) $(NAME_IMAGE ) :$(TAG_IMAGE )
25+
2126# # Copy the current app and remove some items we don't need inside the image
2227# - .git -> huge and doesn't provide anything relevant
2328# - .env -> it's private
You can’t perform that action at this time.
0 commit comments