sync-containers
commandThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
The sync-containers command synchronizes container image tags from oneregistry to another.
It is intended as a workaround for ghcr.io's lack of good push credentials:you can either authorize "classic" Personal Access Tokens in your org (whichare a common vector of very bad compromise), or you can get a short-livedcredential in a Github action.
Since we publish to both Docker Hub and ghcr.io, we use this program in aGithub action to effectively rsync from docker hub into ghcr.io, so that wecan continue to forbid dangerous Personal Access Tokens in the tailscale org.