Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"docker: invalid reference format: repository name must be lowercase." #106

Closed
ratmie opened this issue Jun 7, 2023 · 2 comments
Closed
Assignees
Labels
bug Something is not working

Comments

@ratmie
Copy link

ratmie commented Jun 7, 2023

Description:

I'm encountering an issue when trying to execute the following Azure CLI command through a GitHub Action:

az storage blob delete-batch --account-name mystorageaccount --source '$web' --auth-mode key

The error message I receive is:

Error: docker: invalid reference format: repository name must be lowercase.

Steps to Reproduce:

Execute the Azure CLI command (mentioned above) in a GitHub Action.
This error is consistently reproducible every time the action is run. However, interestingly, when the exact same action content is copied to another action, the error does not occur.

Expected Behavior:

The command should execute successfully without the "docker: invalid reference format: repository name must be lowercase" error.

Additional Information:

I'm using the latest version of Azure CLI as of the date of this issue.
This error only occurs with this particular GitHub Action and not when running the Azure CLI command elsewhere.
I would appreciate any help in resolving this issue. Thanks in advance!

@ratmie ratmie added the need-to-triage Requires investigation label Jun 7, 2023
@MoChilia
Copy link
Member

MoChilia commented Jun 8, 2023

Hi @ratmie, this is a known issue when the user is trying to pass environment variables with quotes to Azure/cli and we have already prepared a fix to this scenario. See #103. Could you please check if this applies to you?

@MoChilia MoChilia added bug Something is not working and removed need-to-triage Requires investigation labels Jun 25, 2023
@MoChilia
Copy link
Member

MoChilia commented Jul 4, 2023

@ratmie, the fix has been merged to the master branch. To check if your issue has been resolved, please switch to azure/cli@master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants