Skip to content

Commit efec262

Browse files
authored
Merge pull request #562 from Icinga/gha-breaking
GHA: handle changed interface of Icinga/docker-icingadb
2 parents 4ed4db3 + 7bd475b commit efec262

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/docker.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,23 @@ on:
1010
- published
1111

1212
jobs:
13+
docker-release:
14+
if: github.event_name == 'release'
15+
concurrency: docker-release
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Docker image
20+
uses: Icinga/docker-icingadb@master
21+
with:
22+
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
23+
1324
docker:
25+
if: github.event_name != 'release'
1426
runs-on: ubuntu-latest
1527

1628
steps:
1729
- name: Docker image
1830
uses: Icinga/docker-icingadb@master
19-
env:
20-
INPUT_TOKEN: '${{ github.token }}'
21-
DOCKER_HUB_PASSWORD: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
31+
with:
32+
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'

0 commit comments

Comments
 (0)