Skip to content

azure/cli@v2 started giving error for az containerapp revision copy #31480

@mehdi-eaton

Description

@mehdi-eaton

Describe the bug

Hi Team,

Since morning, we have observer our pipeline failing.
I am using github action with:

  • name: Azure CLI script
    uses: azure/cli@v2
    env:
    containerAppName: 'xxx'
    resourceGroup: abc
    with:
    azcliversion: latest
    inlineScript: |
    az containerapp revision copy -n ${{ env.containerAppName }}
    -g ${{ env.resourceGroup }} --revision-suffix ${{ github.run_id }}-${{ github.run_attempt }}

This was working till yesterday.

I have also verified same command If I run from my local machine az cli its working fine.

Related command

  • name: Azure CLI script
    uses: azure/cli@v2
    env:
    containerAppName: 'xxx'
    resourceGroup: abc
    with:
    azcliversion: latest
    inlineScript: |
    az containerapp revision copy -n ${{ env.containerAppName }}
    -g ${{ env.resourceGroup }} --revision-suffix ${{ github.run_id }}-${{ github.run_attempt }}

Errors

Image

Issue script & Debug output

Image

Expected behavior

Container app new revision should have created.

Environment Summary

Running on Github with action azure/cli@v2 with azcliversion: latest

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions