Merge pull request #8059 from Icinga/feature/cicd-docker

GitHub actions: build Docker images
This commit is contained in:
Alexander Aleksandrovič Klimov 2020-06-22 16:55:34 +02:00 committed by GitHub
commit 65b9040312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}'