File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -140,24 +140,18 @@ jobs:
140140 image : ${{ fromJson(needs.image-matrix.outputs.image) }}
141141 steps :
142142 - uses : actions/checkout@v2
143- if : contains(matrix.image, 'alpine')
144143 - name : Install clair-scanner
145- if : contains(matrix.image, 'alpine')
146144 run : |
147145 sudo curl -L https://github.com/arminc/clair-scanner/releases/download/v8/clair-scanner_linux_amd64 -o /usr/local/bin/clair-scanner
148146 sudo chmod +x /usr/local/bin/clair-scanner
149147 - name : Download Images
150- if : contains(matrix.image, 'alpine')
151148 uses : actions/download-artifact@v2
152149 with :
153150 name : docker-image-${{ matrix.image }}
154151 path : ./docker-image
155152 - run : docker load --input ./docker-image/image.tar
156- if : contains(matrix.image, 'alpine')
157153 - run : mkdir -p "./clair/${DOCKER_IMAGE}"
158- if : contains(matrix.image, 'alpine')
159154 - run : make ci-scan-vulnerability
160- if : contains(matrix.image, 'alpine')
161155 test :
162156 name : Testing "${{ matrix.image }}"
163157 needs :
You can’t perform that action at this time.
0 commit comments