mirror of
https://github.com/FAUSheppy/monitoring-tools
synced 2026-04-26 22:52:30 +02:00
feat: workflow for smtp monitoring
All checks were successful
Container Build for smtp_imap_monitoring / docker (push) Successful in 29s
All checks were successful
Container Build for smtp_imap_monitoring / docker (push) Successful in 29s
This commit is contained in:
35
.github/workflows/main.yaml
vendored
Normal file
35
.github/workflows/main.yaml
vendored
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user