-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Description
Description
I am trying to push to an Azure Container Registry using azure/login@v2.
I have successfully setup federated workload identities auth using: Configure a federated identity credential on an app
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}The above task successfully authenticates to Azure. I am unsure though how docker/login-action@v3 would be able to pick up the authenticated context. Is this supported? If not, would be a great addition.
nb: auth to ACR using username+password works great:
- name: 'Docker login'
uses: docker/login-action@v3
with:
registry: ${{ secrets.ACR_REGISTRY }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}vg-bharathan-rajaram, uyless, jarpoole, mjanschek, ViktorDronov and 13 more