Commit b4eb0282a76d603741613fae12af75e5498d42b2

Patrick Steinhardt 2020-02-04T11:46:05

azure: coverity: fix invalid syntax for Docker image In commit bbc0b20bd (azure: fix Coverity's build due to wrong container name, 2019-08-02), Coverity builds were fixed to use the correct container names. Unfortunately, the "fix" completely broke our Coverity builds due to using wrong syntax for the Docker task. Let's fix this by using "imageName" instead of the Docker dict.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/azure-pipelines/coverity.yml b/azure-pipelines/coverity.yml
index 3ff285d..b678712 100644
--- a/azure-pipelines/coverity.yml
+++ b/azure-pipelines/coverity.yml
@@ -11,9 +11,7 @@ jobs:
     displayName: Build
     inputs:
       action: 'Run an image'
-      docker:
-        image: xenial
-        base: xenial
+      imageName: libgit2/xenial
       volumes: |
        $(Build.SourcesDirectory):/home/libgit2/source
        $(Build.BinariesDirectory):/home/libgit2/build