Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
permissions:
contents: write
id-token: write
actions: write
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
Expand Down Expand Up @@ -81,6 +82,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Trigger Docker publish workflow
# GitHub's anti-recursion rule: tags pushed by GITHUB_TOKEN do NOT
# trigger downstream workflows. Explicitly dispatch publish-docker.yml
# so the GHCR image actually gets built on every release.
if: steps.check.outputs.published == 'false'
run: |
TAG="v${{ steps.check.outputs.version }}"
gh workflow run publish-docker.yml --ref "${TAG}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Notify Slack
if: steps.check.outputs.published == 'false'
run: |
Expand Down
Loading