Azure / Azure/cli

allow pulling azure cli docker image from artifactory

Open
#133 2 comments 2 reactions 1 assignee Claimed by @MoChilia View on GitHub
enhancement
Dominant language
TypeScript
Stars
168
Forks
80
PR merge metrics
No merged PRs in 30d

Description

We are not able to use az-cli action from self hosted runners because connection to mcr.microsoft.com not open from our firewall. Could you please update the action to read image path from environment variable where we can provide on-prem artifactory remote repository?

```
Warning: Unable to fetch all az cli versions, please report it as an issue on https://github.com/Azure/CLI/issues. Output: , Error: Error: The process 'curl' failed with exit code 35
Starting script execution via docker image mcr.microsoft.com/azure-cli:2.30.0
Error: Error: Unable to find image 'mcr.microsoft.com/azure-cli:2.30.0' locally
docker: Error response from daemon: Get "https://mcr.microsoft.com/v2/": EOF.
```

**Reference** : Similar feature is implemented in https://github.com/marketplace/actions/setup-jfrog-cli#downloading-jfrog-cli-from-artifactory.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.