-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update download and upload action to v4 (#79)
- Loading branch information
1 parent
7e403ca
commit 5c5396e
Showing
5 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,7 +195,7 @@ | |
version: ${{ env.RELEASE_TAG }} | ||
publish: true | ||
commitish: ${{ github.sha }} | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: ${{ github.workspace }}/sbom-artifacts | ||
- uses: AButler/[email protected] | ||
|
@@ -217,7 +217,7 @@ | |
``` | ||
- Using action to scan single platform docker image as a job within a workflow | ||
- Uses *actions/upload-artifact@v3* and *actions/download-artifact@v3* to share docker archives across jobs | ||
- Uses *actions/upload-artifact@v4* and *actions/download-artifact@v4* to share docker archives across jobs | ||
- On successful workflow completion, delete the Docker Archive workflow artifact at the end; otherwise retain for a 1 day at most | ||
- Better visualization using separate scan job in the pipeline | ||
|
@@ -274,7 +274,7 @@ | |
tags: ${{ steps.meta.outputs.tags }} | ||
outputs: "type=docker,dest=${{ env.DOCKER_OCI_ARCHIVE }}.tar" # Supports only single platform images | ||
- name: Upload Docker OCI layout TAR Artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.DOCKER_OCI_ARCHIVE }} | ||
path: ${{ env.DOCKER_OCI_ARCHIVE }}.tar | ||
|
@@ -294,7 +294,7 @@ | |
buildx-tags: ${{ needs.docker-build.outputs.buildx-tags }} | ||
steps: | ||
- name: Download OCI docker TAR artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.DOCKER_OCI_ARCHIVE }} | ||
path: ${{ github.workspace }}/${{ env.DOCKER_OCI_ARCHIVE }} | ||
|
@@ -323,7 +323,7 @@ | |
version: ${{ env.RELEASE_TAG }} | ||
publish: true | ||
commitish: ${{ github.sha }} | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: ${{ github.workspace }}/sbom-artifacts | ||
- run: | | ||
|
@@ -460,7 +460,7 @@ | |
version: ${{ env.RELEASE_TAG }} | ||
publish: true | ||
commitish: ${{ github.sha }} | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: ${{ github.workspace }}/sbom-artifacts | ||
- run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters