Skip to content

Instantly share code, notes, and snippets.

@mateuszdrab
mateuszdrab / migrate-acr-registry.sh
Created April 8, 2025 11:34
Simple script to migrate all images from ACR to an alternative registry
#!/bin/bash
# This script migrates images from one Azure Container Registry (ACR) to another registry.
# Run this script in a bash shell with the Azure CLI installed and authenticated.
# Make sure containerd is installed and running.
# Usage: ./migrate-acr-registry.sh <acr_name> <target_registry_name> <target_registry_username> <target_registry_password>
# Primary intention is to migrate images from ACR to another registry including multiplatform images and all tags.
set -ex
esp32:
board: esp32dev
# framework:
# type: arduino
logger:
level: DEBUG
esp32_ble_tracker: