We have a workflow which copies images between container registries in a dev tenant and a prod tenant which is now failing:
ERROR: Subscription '<dev-subscription-name>' not found. Check the spelling and casing and try again.
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: "Azure login dev"
uses: azure/login@v1
with:
client-id: ${{ vars.DEV_CLIENT_ID }}
tenant-id: ${{ vars.DEV_TENANT_ID }}
subscription-id: ${{ vars.DEV_SUBSCRIPTION_ID }}
- name: "Azure login prod"
uses: azure/login@v1
with:
client-id: ${{ vars.PROD_CLIENT_ID }}
tenant-id: ${{ vars.PROD_TENANT_ID }}
subscription-id: ${{ vars.PROD_SUBSCRIPTION_ID }}
- name: Sync
shell: bash
run: |
USERNAME="00000000-0000-0000-0000-000000000000"
ACCESS_TOKEN=$(az acr login --name <dev-container-registry> --expose-token --output tsv --query accessToken --subscription "<dev-subscription-name>")
...
az acr import --name "$destination" --source "$source_image" --username "$USERNAME" --password "$ACCESS_TOKEN"
Appears to be caused by #377 as pinning to v1.5.0 works.
We have a workflow which copies images between container registries in a dev tenant and a prod tenant which is now failing:
ERROR: Subscription '<dev-subscription-name>' not found. Check the spelling and casing and try again.Appears to be caused by #377 as pinning to v1.5.0 works.