- commit a docker-compose
- setup github action workflow
- renovate looks for new releases and creates PRs
- merge that PR and github actions triggers a ssh via tailscale, copies the new docker-compose.yml and docker-compose up -d
If you already use Renovate to keep dependancies up to date you can use the regex manager to keep the version of Tailscale used in your GitHub Action up to date by defining it as a dependency.
Here is an example of renovate.json5
that will look for the version string and compare it against the latest tailscale/tailscale GitHub Release.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^(workflow-templates|\.(?:github|gitea|forgejo)/workflows)/[^/]+\.ya?ml$"],
"matchStrings": ["uses: tailscale\\/github-action@v2(?:\\s+.*\\n)*?.*version: (?<currentValue>.*?)\\n"],
"depNameTemplate": "tailscale/tailscale",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "v(?<version>.*)"
}
]
}