Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
|
8cd5c6e9e0 | |
![]() |
de74307576 | |
|
afd12e25e6 | |
![]() |
5221271b14 |
|
@ -9,7 +9,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- pip install hatch
|
- pip install hatch
|
||||||
- hatch run test
|
- hatch run test
|
||||||
publish-package:
|
publish-local-package:
|
||||||
|
group: publish-package
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
commands:
|
commands:
|
||||||
- pip install hatch
|
- pip install hatch
|
||||||
|
@ -23,6 +24,20 @@ 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:
|
||||||
|
|
|
@ -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/raoul/pypi/simple/ http2smtp uvicorn[standard]
|
RUN pip install --extra-index-url https://git.libertytechforce.com/api/packages/libertytechforce/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"]
|
||||||
|
|
Loading…
Reference in New Issue