Skip to content

Commit da2af43

Browse files
author
Alexandru Cheltuitor
committed
Merge branch 'fix/ci-issue' into 'master'
Update CI makefile See merge request ProtonVPN/linux/proton-python-client!2
2 parents 81d4794 + 1cb00c8 commit da2af43

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@ ifeq ($(branch), latest)
1212
endif
1313

1414

15-
## Make remote image form a branch make image branch=<branchName> (master default)
1615
IMAGE_URL ?= $(CI_REGISTRY)/ubuntu:latest
1716
ifndef CI_REGISTRY
1817
IMAGE_URL = 'ubuntu:latest'
1918
endif
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

0 commit comments

Comments
 (0)