Docker image #1660
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker image | |
on: | |
release: | |
types: | |
- published | |
schedule: | |
# for main, every day at midnight | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
docker-release: | |
if: github.event_name == 'release' | |
concurrency: docker-release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Docker image | |
uses: Icinga/docker-icingaweb2@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-icingaweb2@master | |
with: | |
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}' |