tsic, gh: keep unstable on Docker Hub
ghcr.io/tailscale/tailscale:unstable is stale (last updated 2022, points to v1.35.25). Only tailscale/tailscale on Docker Hub publishes current unstable builds, so tsic.go reverts the unstable case and build-tailscale-released pulls unstable from Docker Hub while keeping release tags on ghcr.io. Release tags on ghcr.io match Docker Hub by digest (verified v1.96), so the rate-limit avoidance for the bulk of pulls is preserved. Add the conditional docker/login-action step to the new job so the main repo gets authenticated pulls; fork PRs fall through to anonymous DH for the single unstable pull per CI run, well under the 100/6h anonymous limit.
This commit is contained in:
parent
66a5f99bfa
commit
4483fd0cad
2 changed files with 31 additions and 14 deletions
|
|
@ -522,7 +522,10 @@ func New(
|
|||
}
|
||||
}
|
||||
case "unstable":
|
||||
tailscaleOptions.Repository = "ghcr.io/tailscale/tailscale"
|
||||
// ghcr.io/tailscale/tailscale:unstable is stale (last updated
|
||||
// 2022); only tailscale/tailscale on Docker Hub publishes
|
||||
// current unstable builds.
|
||||
tailscaleOptions.Repository = "tailscale/tailscale"
|
||||
tailscaleOptions.Tag = version
|
||||
|
||||
err = dockertestutil.PullWithAuth(pool, tailscaleOptions.Repository+":"+tailscaleOptions.Tag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue