From 0656be3949580b5258fea95eb7cd8e5af5daaa86 Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Sat, 8 Aug 2020 21:02:56 +0100 Subject: [PATCH] Added GitHub action for container build --- .github/workflows/container-build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/container-build.yml diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml new file mode 100644 index 0000000..ad16953 --- /dev/null +++ b/.github/workflows/container-build.yml @@ -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