Created
April 9, 2019 20:04
-
-
Save Jtorrecilla/a33cb3c814b12cf0e45ea7dd99cb6f80 to your computer and use it in GitHub Desktop.
Initial Azure Pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: Docker@1 | |
| displayName: 'Build an image' | |
| inputs: | |
| command: Build an image | |
| azureSubscription: XXX | |
| azureContainerRegistry: '{"loginServer":"xxx.azurecr.io", "id" : "/subscriptions/xxx/resourceGroups/xx-xxx-xxx-DEV/providers/Microsoft.ContainerRegistry/registries/xxx"}' | |
| dockerFile: src/Services/MyApi/Dockerfile | |
| imageName: $(Build.Repository.Name):$(Build.BuildId) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment