Skip to content

Commit

Permalink
GHA: handle changed interface of Icinga/docker-icingadb
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Feb 2, 2023
1 parent 4ed4db3 commit 7bd475b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,23 @@ on:
- 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
env:
INPUT_TOKEN: '${{ github.token }}'
DOCKER_HUB_PASSWORD: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
with:
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'

0 comments on commit 7bd475b

Please sign in to comment.