Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,25 @@ jobs:
- name: Publish to npm
run: npm publish ghost-*.tgz --access public

# --------------------------------------------------------------------------- #
# Trigger docker-library-ghost auto-update — runs after the npm package is
# published so the Docker library picks up the new release.
# --------------------------------------------------------------------------- #
trigger_docker_library_update:
needs: [publish_ghost]
name: Trigger docker-library-ghost update
runs-on: ubuntu-latest
if: |
startsWith(github.ref, 'refs/tags/v')
&& github.repository == 'TryGhost/Ghost'
steps:
- name: Dispatch to TryGhost/docker-library-ghost
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4
with:
token: ${{ secrets.CANARY_DOCKER_BUILD }}
repository: TryGhost/docker-library-ghost
event-type: ghost-version-publish

# --------------------------------------------------------------------------- #
# Create GitHub Release — runs after successful npm publish
# --------------------------------------------------------------------------- #
Expand Down
Loading