Skip to content

Ping the watchtower of the local deployment after a publish - #195

Merged
splitbrain merged 1 commit into
splitbrain:mainfrom
splitbrain-bot:watchtower-image-filter
Nov 26, 2026
Merged

splitbrain merged 1 commit into
splitbrain:mainfrom
splitbrain-bot:watchtower-image-filter

Conversation

@splitbrain-bot

Copy link
Copy Markdown

The deployment moved to a host in the local network. Its watchtower is reachable through a Tailscale Funnel, and it
also updates the containers of other projects.

The watchtower job now reads the URL from the secret WATCHTOWER_URL and sends the image parameter. This parameter
limits the update to the orchestrator and egress proxy images. A reply other than HTTP 200 fails the step and shows
the status in the log.

Before the merge, set these repository settings:

  • Add the secret WATCHTOWER_URL with the URL of the update endpoint, https://nas.<tailnet-name>.ts.net/watchtower/update.
  • Remove the repository variable WATCHTOWER_URL.
  • Make sure that the secret WATCHTOWER_HTTP_API_TOKEN has the token of the local watchtower.

The deployment moved to a host in the local network. Its watchtower is reachable through a Tailscale Funnel, and it
also updates the containers of other projects. The workflow read the watchtower URL from a repository variable and
asked the watchtower to update all of its containers. It now reads the URL from the secret WATCHTOWER_URL and limits
the update to the orchestrator and egress proxy images. A reply other than HTTP 200 fails the step and shows the status
in the log.
@splitbrain
splitbrain merged commit ec55878 into splitbrain:main Nov 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants