Skip to content

Sync Docker Image to Registry

Actions
pull an image from one registry and push to another
1.1.0
Latest
Star (7)

Github Actions

A template for making new github actions.

Author

onichandame

Usage

name: Sync Registry
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Sync From Docker Hub to Aliyun
      uses: onichandame/docker-registry-sync-action@master
      with:
        source_repository: docker.io/nginx:latest
        source_username: ${{ secrets.DOCKER_USERNAME }}
        source_password: ${{ secrets.DOCKER_PASSWORD }}
        target_repository: registry.cn-shanghai.aliyuncs.com/user/nginx:latest
        target_username: ${{ secrets.ALIYUN_USERNAME }}
        target_password: ${{ secrets.ALIYUN_PASSWORD }}

Sync Docker Image to Registry is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

pull an image from one registry and push to another
1.1.0
Latest

Sync Docker Image to Registry is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.