parsedmarc-dockerized/.github/workflows/build-parsedmarc.yml
2020-08-08 23:16:14 +01:00

25 lines
637 B
YAML
Executable file

name: Build parsedmarc container
on:
push:
paths:
- 'data/Dockerfiles/parsedmarc/**'
schedule:
- cron: '0 0 14 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push Docker image
uses: docker/build-push-action@v1
with:
path: data/Dockerfiles/parsedmarc/
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: patschi/parsedmarc
tags: latest
add_git_labels: true