Skip to content

Commit 7d4e589

Browse files
committed
wip
1 parent 1b7aace commit 7d4e589

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/container-image.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
types:
1010
- published
1111

12+
concurrency:
13+
group: container-image-${{ github.event_name == 'push' && github.sha || github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
container-image:
1418
# Since the base container image GHA requires the following permissions, each job that
@@ -21,14 +25,9 @@ jobs:
2125
id-token: write
2226

2327
name: Container Image
24-
uses: icinga/github-actions/.github/workflows/container-image.yml@main
28+
uses: icinga/github-actions/.github/workflows/container-image.yml@docker-build
2529
with:
26-
# The variable ${{ github.repository }} is not suitable for container image names in our case because
27-
# they must be lowercase, and our organization name is Icinga. Since our repository names are already
28-
# lowercase, no additional modifications are necessary.
29-
image_name: icinga/${{ github.event.repository.name }}
3030
documentation_url: https://icinga.com/docs/icinga2
3131
secrets:
32-
ghcr_token: ${{ secrets.GITHUB_TOKEN }}
3332
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
3433
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)