You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# /.azdo-pipelines/pipeline_templates/linting.yml (Line: 8, Col: 1): While parsing a block mapping, did not find expected key. == "SyntaxError: while parsing a block mapping"
35
+
36
+
# /.azdo-pipelines/pipeline_templates/linting.yml (Line: 15, Col: 25): A sequence was not expected == ' I did not need the matric and stratgey when using parameters in the template file. I should have used 'parameters' instead of 'matrix' and 'strategy'.'
37
+
# /.azdo-pipelines/azure-pipelines.yml (Line: 20, Col: 26): Unexpected parameter 'pythonVersion' == "pythonVersion in the main yaml file was not matching with the one in the template file. It should be 'python-version' instead of 'pythonVersion'."
### Push the Docker image to Azure Container Registry ###
11
+
- task: Docker@2
12
+
displayName: 'Build and Push Docker Image to ACR'
13
+
inputs:
14
+
command: buildAndPush
15
+
containerRegistry: $(ACR_SERVICE_CONNECTION) # name of your ADO service connection to ACR
16
+
repository: $(image_repo) # e.g. myacr.azurecr.io/myapp
17
+
dockerfile: $(src/Dockerfile) # e.g. src/Dockerfile
18
+
tags: |
19
+
latest
20
+
$(Build.BuildId)
21
+
22
+
23
+
# /.azdo-pipelines/pipeline_templates/push-image.yml (Line: 9, Col: 25): While parsing a block mapping, did not find expected key.
24
+
25
+
26
+
# Job push_image: Step input containerRegistry references service connection $(dockerRegistryServiceConnection) which could not be found. The service connection does not exist,
27
+
# has been disabled or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.
0 commit comments