Skip to content

feat: add logging during processing #19

feat: add logging during processing

feat: add logging during processing #19

Workflow file for this run

name: main
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Setup tests
run: |
pip install -r requirements.txt
pip install pylama
- name: Run tests
run: |
pylama -v imap2imap.py docker/entrypoint.py
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
file: docker/Dockerfile
push: true
tags: ghcr.io/the-kube-way/imap2imap:latest