We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d9bef2 commit 5cad13eCopy full SHA for 5cad13e
2 files changed
Dockerfile
@@ -7,8 +7,6 @@ FROM python:latest
7
WORKDIR /aspose-barcode-cloud-python
8
COPY . .
9
10
-RUN pip install -r publish-requirements.txt
11
RUN echo '[pypi]\nusername = __token__\npassword = ${TWINE_PASSWORD}' > $HOME/.pypirc
12
13
-ENTRYPOINT ["make"]
14
-CMD ["publish"]
+ENTRYPOINT ["make", "publish-docker"]
Makefile
@@ -37,3 +37,11 @@ check_git:
37
.PHONY: publish
38
publish: check_git test dist
39
python3 -m twine upload dist/*
40
+
41
+.PHONY: init-docker
42
+init-docker:
43
+ pip install -r publish-requirements.txt
44
45
+.PHONY: publish-docker
46
+publish-docker: init-docker test dist
47
+ python3 -m twine upload dist/*
0 commit comments