2020-06-19 14:22:06 +02:00
|
|
|
name: Docker image
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request: {}
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-10-13 18:25:47 +02:00
|
|
|
- 'support/*'
|
2020-06-19 14:22:06 +02:00
|
|
|
release:
|
|
|
|
types:
|
|
|
|
- published
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-04-16 13:10:43 +02:00
|
|
|
- name: Cancel previous jobs for the same PR
|
2021-07-01 11:25:29 +02:00
|
|
|
if: "github.event_name == 'pull_request'"
|
2021-04-16 13:10:43 +02:00
|
|
|
uses: styfle/cancel-workflow-action@89f242ee29e10c53a841bfe71cc0ce7b2f065abc
|
|
|
|
with:
|
2021-07-26 17:38:33 +02:00
|
|
|
workflow_id: deb.yml,docker.yml,raspbian.yml,rpm.yml,windows.yml
|
2021-04-16 13:10:43 +02:00
|
|
|
access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
2020-06-19 14:22:06 +02:00
|
|
|
- name: Docker image
|
|
|
|
uses: Icinga/docker-icinga2@master
|
|
|
|
env:
|
|
|
|
INPUT_TOKEN: '${{ github.token }}'
|
|
|
|
DOCKER_HUB_PASSWORD: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|