Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Updated ACR #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ variables:
- group: captureorder-variables # Variable Group containing 'mongoHost', 'mongoUser' and the secret 'mongoPassword'

- name: dockerRegistryServiceConnection
value: 'containerRegistryConnection' # make sure it matches the name you used in the service connection
value: 'containerRegistryConnection'

- name: acrEndpoint
value: 'uniqueacrname.azurecr.io' # replace with container registry endpoint
value: akschallengecontainterregistry.azurecr.io #

- name: tag
value: '$(Build.BuildId)'
Expand Down Expand Up @@ -48,7 +48,7 @@ stages:
pool:
vmImage: ubuntu-latest

environment: 'aksworkshop.dev' # name of the environment to target [env name.namespace]. This will pull in the Kubernetes service connection automatically
environment: 'aksworkshop.dev'

strategy:
runOnce:
Expand Down
2 changes: 1 addition & 1 deletion manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: captureorder
image: uniqueacrname.azurecr.io/captureorder:placeholdertag # replace with your own repository. Due to a bug, leave the :placeholdertag tag in there to allow the pipeline to replace it
image: aksdevopschallengeacr.azurecr.io/captureorder:placeholdertag # replace with your own repository. Due to a bug, leave the :placeholdertag tag in there to allow the pipeline to replace it
imagePullPolicy: Always
readinessProbe:
httpGet:
Expand Down