Created
April 9, 2019 20:49
-
-
Save Jtorrecilla/b80ab9b9b822ddb0d20165d747daa707 to your computer and use it in GitHub Desktop.
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
| variables: | |
| - group: Artifacts | |
| steps: | |
| - task: Docker@1 | |
| displayName: 'Build an image' | |
| inputs: | |
| command: Build an image | |
| azureSubscription: Devops | |
| azureContainerRegistry: '{"loginServer":"xxx.azurecr.io", "id" : "/subscriptions/xxx/resourceGroups/xxx-DEV/providers/Microsoft.ContainerRegistry/registries/xxx"}' | |
| dockerFile: src/Services/MyApi/Dockerfile | |
| imageName: $(Build.Repository.Name):$(Build.BuildId) | |
| arguments: '--build-arg ARTIFACTS_ENDPOINT="$(artifactsEndpoint)" --build-arg ACCESS_TOKEN="$(artifactsAccessToken)" --build-arg USER="xxx"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment