|  | 
| 195 | 195 |             version: ${{ env.RELEASE_TAG }} | 
| 196 | 196 |             publish: true | 
| 197 | 197 |             commitish: ${{ github.sha }} | 
| 198 |  | -        - uses: actions/download-artifact@v3 | 
|  | 198 | +        - uses: actions/download-artifact@v4 | 
| 199 | 199 |           with: | 
| 200 | 200 |             path: ${{ github.workspace }}/sbom-artifacts | 
| 201 | 201 |         - uses: AButler/upload-release-assets@v2.0 | 
|  | 
| 217 | 217 |   ``` | 
| 218 | 218 | 
 | 
| 219 | 219 | - Using action to scan single platform docker image as a job within a workflow | 
| 220 |  | -  - Uses *actions/upload-artifact@v3* and *actions/download-artifact@v3* to share docker archives across jobs | 
|  | 220 | +  - Uses *actions/upload-artifact@v4* and *actions/download-artifact@v4* to share docker archives across jobs | 
| 221 | 221 |   - On successful workflow completion, delete the Docker Archive workflow artifact at the end; otherwise retain for a 1 day at most | 
| 222 | 222 |   - Better visualization using separate scan job in the pipeline | 
| 223 | 223 | 
 | 
|  | 
| 274 | 274 |               tags: ${{ steps.meta.outputs.tags }} | 
| 275 | 275 |               outputs: "type=docker,dest=${{ env.DOCKER_OCI_ARCHIVE }}.tar" # Supports only single platform images | 
| 276 | 276 |           - name: Upload Docker OCI layout TAR Artifact | 
| 277 |  | -          uses: actions/upload-artifact@v3 | 
|  | 277 | +          uses: actions/upload-artifact@v4 | 
| 278 | 278 |           with: | 
| 279 | 279 |             name: ${{ env.DOCKER_OCI_ARCHIVE }} | 
| 280 | 280 |             path: ${{ env.DOCKER_OCI_ARCHIVE }}.tar | 
|  | 
| 294 | 294 |             buildx-tags: ${{ needs.docker-build.outputs.buildx-tags }} | 
| 295 | 295 |           steps: | 
| 296 | 296 |             - name: Download OCI docker TAR artifact | 
| 297 |  | -              uses: actions/download-artifact@v3 | 
|  | 297 | +              uses: actions/download-artifact@v4 | 
| 298 | 298 |               with: | 
| 299 | 299 |                 name: ${{ env.DOCKER_OCI_ARCHIVE }} | 
| 300 | 300 |                 path: ${{ github.workspace }}/${{ env.DOCKER_OCI_ARCHIVE }} | 
|  | 
| 323 | 323 |                   version: ${{ env.RELEASE_TAG }} | 
| 324 | 324 |                   publish: true | 
| 325 | 325 |                   commitish: ${{ github.sha }} | 
| 326 |  | -              - uses: actions/download-artifact@v3 | 
|  | 326 | +              - uses: actions/download-artifact@v4 | 
| 327 | 327 |                 with: | 
| 328 | 328 |                   path: ${{ github.workspace }}/sbom-artifacts | 
| 329 | 329 |               - run: | | 
|  | 
| 460 | 460 |               version: ${{ env.RELEASE_TAG }} | 
| 461 | 461 |               publish: true | 
| 462 | 462 |               commitish: ${{ github.sha }} | 
| 463 |  | -          - uses: actions/download-artifact@v3 | 
|  | 463 | +          - uses: actions/download-artifact@v4 | 
| 464 | 464 |             with: | 
| 465 | 465 |               path: ${{ github.workspace }}/sbom-artifacts | 
| 466 | 466 |           - run: | | 
|  | 
0 commit comments