Added docker workflow
This commit is contained in:
parent
77ddd504c9
commit
e7ba886bf7
1 changed files with 15 additions and 0 deletions
15
.github/workflows/dockerimage.yml
vendored
Normal file
15
.github/workflows/dockerimage.yml
vendored
Normal file
|
@ -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)
|
Loading…
Reference in a new issue