Compare commits

..

No commits in common. "master" and "v0.1.0" have entirely different histories.

2 changed files with 2 additions and 17 deletions

View File

@ -9,8 +9,7 @@ steps:
commands: commands:
- pip install hatch - pip install hatch
- hatch run test - hatch run test
publish-local-package: publish-package:
group: publish-package
image: python:3.11 image: python:3.11
commands: commands:
- pip install hatch - pip install hatch
@ -24,20 +23,6 @@ steps:
- repo: libertytechforce/http2smtp - repo: libertytechforce/http2smtp
branch: master branch: master
event: tag event: tag
publish-pypi-package:
group: publish-package
image: python:3.11
commands:
- pip install hatch
- hatch build
- hatch publish --user $PYPI_USERNAME --auth $PYPI_TOKEN --no-prompt
secrets:
- pypi-username
- pypi-token
when:
- repo: libertytechforce/http2smtp
branch: master
event: tag
nightly-image: nightly-image:
image: docker image: docker
commands: commands:

View File

@ -1,6 +1,6 @@
FROM python:3.11-alpine FROM python:3.11-alpine
RUN pip install --extra-index-url https://git.libertytechforce.com/api/packages/libertytechforce/pypi/simple/ http2smtp uvicorn[standard] RUN pip install --extra-index-url https://git.libertytechforce.com/api/packages/raoul/pypi/simple/ http2smtp uvicorn[standard]
EXPOSE 8000 EXPOSE 8000
CMD ["uvicorn", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "http2smtp.app:app"] CMD ["uvicorn", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers", "http2smtp.app:app"]