Skip to content

Commit

Permalink
Merge pull request #1209 from adoptium/gdams-patch-1
Browse files Browse the repository at this point in the history
Login to ACR via OIDC
  • Loading branch information
gdams authored Oct 15, 2024
2 parents f9df8dc + 16210ee commit 1d54a95
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/azure-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ runs:
subscription-id: ${{ inputs.AZURE_SUBSCRIPTION_ID }}

- name: Login to Azure Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: adoptopenjdkacr.azurecr.io
username: ${{ inputs.AZURE_CLIENT_ID }}
password: ${{ inputs.AZURE_CLIENT_SECRET }}
run: az acr login --name adoptopenjdkacr

- name: Set the target Azure Kubernetes Service (AKS) cluster.
uses: azure/aks-set-context@1cf43fa609aaef0617c6a12deda238b920e926b0 # v4.0.1
Expand Down

0 comments on commit 1d54a95

Please sign in to comment.