Skip to content

jdamata/acr-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acr-sync

Sync images/tags from one ACR to another

Installing

You can grab a pre-compiled version of acrpush in the release tab or generate your own:

go get -u github.com/jdamata/acr-sync

Usage

  acr-sync                                                       : Display usage
  acr-sync acr-eng.azurecr.io acr-prod.azurecr.io                : List images and tags that would be pulled/pushed
  acr-sync acr-eng.azurecr.io acr-prod.azurecr.io --sync         : Pull/push all images/tags from acr-eng to acr-prod
  acr-sync acr-eng.azurecr.io acr-prod.azurecr.io --sync --prune : Pull/push all images/tags from acr-eng to acr-prod and prune unused local images after complete.