Skip to content

Commit d8b5bae

Browse files
authored
Adding azlogin step (#567)
1 parent 84b5657 commit d8b5bae

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

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/[email protected]

template/dockerfiles/rust/draft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ variables:
1717
type: "string"
1818
kind: "containerImageVersion"
1919
default:
20-
value: "1.70.0"
20+
value: "1.82.0"
2121
description: "the version of rust used by the application"
2222
exampleValues: ["1.70.0", "1.65.0", "1.60", "1.54", "1.53"]
2323
versions: ">=0.0.1"

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: |

test/integration/rust/helm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ deployVariables:
1212
value: "host.minikube.internal:5001/testapp"
1313
languageVariables:
1414
- name: "VERSION"
15-
value: "1.81.0"
15+
value: "1.82.0"
1616
- name: "BUILDERVERSION"
1717
value: "null"
1818
- name: "PORT"

test/integration/rust/kustomize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ deployVariables:
1212
value: "host.minikube.internal:5001/testapp"
1313
languageVariables:
1414
- name: "VERSION"
15-
value: "1.81.0"
15+
value: "1.82.0"
1616
- name: "BUILDERVERSION"
1717
value: "null"
1818
- name: "PORT"

test/integration/rust/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ deployVariables:
1212
value: "host.minikube.internal:5001/testapp"
1313
languageVariables:
1414
- name: "VERSION"
15-
value: "1.81.0"
15+
value: "1.82.0"
1616
- name: "BUILDERVERSION"
1717
value: "null"
1818
- name: "PORT"

0 commit comments

Comments
 (0)