Skip to content

Commit 954ec12

Browse files
committed
updated
1 parent 84b5657 commit 954ec12

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

pkg/fixtures/workflows/github/manifests/.github/workflows/azure-kubernetes-service.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ jobs:
8484
# Checks out the repository this file is in
8585
- uses: actions/checkout@v3
8686

87+
# Logs into ACR
88+
- name: Log into ACR
89+
run: |
90+
az acr login -n ${{ env.AZURE_CONTAINER_REGISTRY }}
91+
8792
# Logs in with your Azure credentials
8893
- name: Azure login
8994
uses: azure/login@v2.2.0

template/workflows/manifests/.github/workflows/azure-kubernetes-service.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ jobs:
7070
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
7171
auth-type: ${{ env.AUTH_TYPE }}
7272

73+
# Logs into ACR
74+
- name: Log into ACR
75+
run: |
76+
az acr login -n ${{ env.AZURE_CONTAINER_REGISTRY }}
77+
7378
# Builds and pushes an image up to your Azure Container Registry
7479
- name: Build and push image to ACR
7580
run: |

0 commit comments

Comments
 (0)