fix: smtp_proxy_server hostname && add docker image for linux/arm64 (#180)

This commit is contained in:
Dream Hunter
2024-04-30 14:38:06 +08:00
committed by GitHub
parent 0366699fec
commit c015b57d73
2 changed files with 5 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@@ -38,6 +41,7 @@ jobs:
with:
context: ./smtp_proxy_server
file: ./smtp_proxy_server/dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}

View File

@@ -122,6 +122,7 @@ settings = Settings()
handler = CustomSMTPHandler()
server = Controller(
handler,
hostname="",
port=settings.port,
auth_require_tls=False,
decode_data=True,