GitHub actions: build Docker images

This commit is contained in:
Alexander A. Klimov 2020-06-19 14:22:06 +02:00
parent a96403331f
commit 58f3343162
1 changed files with 21 additions and 0 deletions

21
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Docker image
on:
pull_request: {}
push:
branches:
- master
release:
types:
- published
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Docker image
uses: Icinga/docker-icinga2@master
env:
INPUT_TOKEN: '${{ github.token }}'
DOCKER_HUB_PASSWORD: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'