Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile
README.md
entrypoint.sh

README.md

GitHub Action for the Azure Login

The GitHub Action for Azure Login wraps the Azure CLI's az login, allowing for Actions to log into Azure.

Because $HOME is persisted across Actions, the az login command will save this information on the filesystem, allowing other Actions to reuse the context.

Usage


 action "Azure Login" {
  uses = "Azure/github-actions/login@master"
  env = {
    AZURE_SUBSCRIPTION = "Subscription Name"
  }
  secrets = ["AZURE_SERVICE_APP_ID", "AZURE_SERVICE_PASSWORD", "AZURE_SERVICE_TENANT"]
}

Secrets

  • AZURE_SERVICE_APP_IDRequired
  • AZURE_SERVICE_PASSWORDRequired
  • AZURE_SERVICE_TENANTRequired

You can create get the above details by running " az ad sp create-for-rbac " command(more info).

Environment variables

  • AZURE_SUBSCRIPTIONOptional if have access to just one subscription
You can’t perform that action at this time.