Skip to content

self-actuated/hub-mirror

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

hub-mirror

GitHub Action to configure a Docker Hub mirror for actuated servers.

  • Writes /etc/docker/daemon.json to use the mirror and trust its CA
  • Creates a buildx builder that uses the mirror and trusts its CA

If you run docker/setup-buildx-action after this action, it will overwrite the buildx builder created by this action.

Learn more

Examples

The v3 version uses TLS for the registry with a CA injected to the VM and is the same as master

      - uses: self-actuated/hub-mirror@v3

Set a custom MTU for Docker's bridges i.e. for GCP's defaults on VPCs (1460):

      - uses: self-actuated/hub-mirror@v4
        with:
          mtu: 1460

License

MIT License

About

GitHub Action to configure a Docker Hub mirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •