Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmarsh committed Oct 21, 2019
1 parent 8b9d468 commit a5f2943
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ pr:
pool:
vmImage: 'ubuntu-latest'

container:
image: golang:1.13
options: --name ThisContainer
# container:
# image: golang:1.13
# options: --name ThisContainer

steps:
- task: GoTool@0
inputs:
version: '1.13'

- script: |
set -x
docker exec ThisContainer -u 0
# docker exec ThisContainer -u 0
apt-get update
apt-get -y install sudo
# apt-get -y install sudo
apt-get install zip -y
go version
go get -v -t -d ./...
Expand Down

0 comments on commit a5f2943

Please sign in to comment.