Skip to content

Commit ea3fbc9

Browse files
committed
Add an initial GitHub Action declaration
1 parent b62d853 commit ea3fbc9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.7-slim
2+
3+
LABEL "maintainer"="Sviatoslav Sydorenko <[email protected]>"
4+
LABEL "repository"="https://github.com/re-actors/pypi-action"
5+
LABEL "homepage"="https://github.com/re-actors/pypi-action"
6+
7+
LABEL "com.github.actions.name"="pypi-action"
8+
LABEL "com.github.actions.description"="Upload Python distribution packages to PyPI"
9+
LABEL "com.github.actions.icon"="upload-cloud"
10+
LABEL "com.github.actions.color"="yellow"
11+
12+
ENV PYTHONDONTWRITEBYTECODE 1
13+
ENV PYTHONUNBUFFERED 1
14+
15+
RUN pip install --upgrade --no-cache-dir twine
16+
17+
ENTRYPOINT ["twine"]
18+
CMD ["upload", "dist/*"]

0 commit comments

Comments
 (0)