Skip to content

[Issue] AZURE_CREDENTIALS not set in new Github workflow, login fails #1399

Description

@pamelafox

Output from azd version

Whatever's in mcr.microsoft.com/azure-dev-cli-apps:latest

Output from az version

N/A

Describe the bug

I updated my Github workflow to use the new login scheme, re-ran azd pipeline config locally on the very latest azd (azd version 0.5.0-beta.3), and pushed the Github secrets.
Unfortunately, the azd provision stage is ending in:

ERROR: loading environment: initializing environment: reading subscription id: no default response for prompt 'Please select an Azure Subscription to use:'

You can see the full output here, I even added --debug flag to help:
https://github.com/pamelafox/msdocs-django-postgresql-sample-app-azd/actions/runs/3925438619/jobs/6710359802

To Reproduce

Expected behavior

I expected a successful deploy. I ported a very similar repo today as well (https://github.com/pamelafox/msdocs-flask-postgresql-sample-app-azd), and its workflows are fine, which is why I'm really flummoxed by this issue.

Metadata

Metadata

Assignees

Labels

area/pipelineCI/CD pipeline config (GH Actions, AzDO)area/templatesTemplates, init, scaffold

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions