Added GitHub action for container build

This commit is contained in:
Patrik Kernstock 2020-08-08 21:02:56 +01:00
parent e2544ee129
commit 0656be3949
1 changed files with 21 additions and 0 deletions

21
.github/workflows/container-build.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: container-build
on:
push:
paths:
- 'data/Dockerfiles/parsedmarc/**'
schedule:
- cron: '0 0 14 * *'
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:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: patschi/parsedmarc-dockerized
tags: latest