Added GitHub action for container build
This commit is contained in:
parent
e2544ee129
commit
0656be3949
1 changed files with 21 additions and 0 deletions
21
.github/workflows/container-build.yml
vendored
Normal file
21
.github/workflows/container-build.yml
vendored
Normal 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
|
Loading…
Reference in a new issue