2020-08-08 22:02:56 +02:00
|
|
|
name: container-build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'data/Dockerfiles/parsedmarc/**'
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 14 * *'
|
2020-08-08 22:17:53 +02:00
|
|
|
workflow_dispatch:
|
2020-08-08 22:02:56 +02:00
|
|
|
|
|
|
|
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:
|
2020-08-08 22:50:40 +02:00
|
|
|
path: data/Dockerfiles/parsedmarc/
|
2020-08-08 22:02:56 +02:00
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2020-08-08 22:07:31 +02:00
|
|
|
repository: patschi/parsedmarc
|
2020-08-08 22:02:56 +02:00
|
|
|
tags: latest
|
2020-08-08 22:11:24 +02:00
|
|
|
add_git_labels: true
|