Skip to content

Commit

Permalink
Merge pull request #562 from Icinga/gha-breaking
Browse files Browse the repository at this point in the history
GHA: handle changed interface of Icinga/docker-icingadb
  • Loading branch information
julianbrost authored Feb 21, 2023
2 parents 4ed4db3 + 7bd475b commit efec262
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 efec262

Please sign in to comment.