Skip to content
arrow-right-circle

GitHub Action

hub-mirror

v3 Latest version

hub-mirror

arrow-right-circle

hub-mirror

Setup local mirror for Docker Hub

Installation

Copy and paste the following snippet into your .yml file.

              

- name: hub-mirror

uses: self-actuated/hub-mirror@v3

Learn more about this action in self-actuated/hub-mirror

Choose a version

hub-mirror

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

Learn more

Warning: running docker/setup-buildx-action after this step will wipe out the configuration set by this action. You do not need to use docker/setup-buildx-action when you use this action.

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

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

The v2 version was prior to using TLS for the registry, using HTTP and insecure:

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