From e7ba886bf7e6c4744ef6f4865c19305d0591573b Mon Sep 17 00:00:00 2001 From: Vincent Composieux Date: Thu, 22 Aug 2019 08:46:22 +0200 Subject: [PATCH] Added docker workflow --- .github/workflows/dockerimage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/dockerimage.yml diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 0000000..4eba494 --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,15 @@ +name: Docker Image CI + +on: + push: + branches: + - master + - release/* + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag pihole-exporter:$(date +%s)