File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
10
+
11
+ # ###############################################################################
12
+ # Tests building with docker
13
+ # ###############################################################################
14
+
15
+
16
+ - job : test_build_and_scan_with_docker
17
+ steps :
18
+ - task : Docker@2
19
+ displayName : Check that building using Docker succeeds
20
+ inputs :
21
+ command : ' build'
22
+ Dockerfile : ' **/Dockerfile'
23
+ tags : |
24
+ 'scancode-toolkit'
25
+ 'scancode-toolkit:$(Build.BuildId)'
26
+ - script : |
27
+ docker scan scancode-toolkit:$(Build.BuildId)
28
+ displayName: 'Scan image'
29
+
30
+
10
31
# ###############################################################################
11
32
# These jobs are using VMs and Azure-provided Pythons 3.8
12
33
# ###############################################################################
You can’t perform that action at this time.
0 commit comments