From 3f6dd5bdd94cd1127d45bac97ffdc47e9221453b Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 29 Mar 2026 12:14:26 +0200 Subject: [PATCH] feat: workflow for smtp monitoring --- .github/workflows/main.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..d00f36a --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,35 @@ +name: Container Build for smtp_imap_monitoring + +on: + push: + branches: + - "master" + schedule: + - cron: "0 2 * * 0" + +jobs: + docker: + runs-on: ubuntu-latest + environment: + name: prod + steps: + - uses: actions/checkout@v3 + - + name: Checkout + uses: actions/checkout@v3 + - + name: Login to Docker Registry + uses: docker/login-action@v2 + with: + registry: ${{ secrets.REGISTRY }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASS }} + - + name: build and push smtp_imap monitoring + uses: docker/build-push-action@v3 + with: + context: . + file: Dockerfile.smtp_check + platforms: linux/amd64 + push: true + tags: "${{ secrets.REGISTRY }}/atlantishq/smtp_imap_monitoring:latest"