mirror of
https://github.com/Icinga/icingadb.git
synced 2026-02-03 20:40:34 -05:00
33 lines
672 B
YAML
33 lines
672 B
YAML
name: Docker image
|
|
|
|
on:
|
|
pull_request: {}
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'support/*'
|
|
release:
|
|
types:
|
|
- published
|
|
|
|
jobs:
|
|
docker-release:
|
|
if: github.event_name == 'release'
|
|
concurrency: docker-release
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Docker image
|
|
uses: Icinga/docker-icingadb@master
|
|
with:
|
|
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|
|
|
|
docker:
|
|
if: github.event_name != 'release'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Docker image
|
|
uses: Icinga/docker-icingadb@master
|
|
with:
|
|
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|