mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-18 00:45:06 +00:00
tsic: pull tailscale images from ghcr.io
Anonymous reads on ghcr.io are unmetered. Pulling tailscale/tailscale from Docker Hub fails on fork PRs without DOCKERHUB_USERNAME because the unauthenticated rate limit is hit at test time. ghcr.io/tailscale/tailscale publishes the same tags. The cache-hit short-circuit in dockertestutil.PullWithAuth still skips the pull when the image is already loaded locally, so the change is a no-op once CI pre-pulls the images.
This commit is contained in:
parent
79562b9782
commit
2e49f3dc67
1 changed files with 2 additions and 2 deletions
|
|
@ -522,7 +522,7 @@ func New(
|
|||
}
|
||||
}
|
||||
case "unstable":
|
||||
tailscaleOptions.Repository = "tailscale/tailscale"
|
||||
tailscaleOptions.Repository = "ghcr.io/tailscale/tailscale"
|
||||
tailscaleOptions.Tag = version
|
||||
|
||||
err = dockertestutil.PullWithAuth(pool, tailscaleOptions.Repository+":"+tailscaleOptions.Tag)
|
||||
|
|
@ -542,7 +542,7 @@ func New(
|
|||
log.Printf("Docker run failed for %s (unstable), error: %v", hostname, err)
|
||||
}
|
||||
default:
|
||||
tailscaleOptions.Repository = "tailscale/tailscale"
|
||||
tailscaleOptions.Repository = "ghcr.io/tailscale/tailscale"
|
||||
tailscaleOptions.Tag = "v" + version
|
||||
|
||||
err = dockertestutil.PullWithAuth(pool, tailscaleOptions.Repository+":"+tailscaleOptions.Tag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue