Azure / cli

Automate your GitHub workflows using Azure CLI scripts
MIT License
124 stars 52 forks source link

Windows runner for Azure keyvault #101

Open Kebechet opened 1 year ago

Kebechet commented 1 year ago

Azure cli should be the replacement for: https://github.com/Azure/get-keyvault-secrets for retrieving secrets from Azure key vault. But the old get-keyvault-secrets worked also on windows runner but Azure cli does not because of the check:

https://github.com/Azure/cli/blob/master/src/main.ts#L19

if (process.env.RUNNER_OS != 'Linux') {
    core.setFailed('Please use Linux based OS as a runner.');
    return;
}

get-keyvault-secrets is going to be deprecated, so how to make Azure/cli work for windows runners ?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 year ago

This issue is idle because it has been open for 14 days with no activity.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 year ago

This issue is idle because it has been open for 14 days with no activity.

MacKey-255 commented 6 months ago

Any news?

MoChilia commented 5 months ago

Hi @MacKey-255, Azure/cli is designed to use docker in the action for running Azure CLI scripts. The docker image built by azure-cli provides a standalone Linux container. But Linux containers cannot run directly on Windows. Implementing support for Windows runners would require significant effort and need collaboration with azure-cli. Thanks for your patience and hope for your understanding in this.