File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -27,22 +27,23 @@ jobs:
27
27
- name : Download image
28
28
id : image
29
29
# yamllint disable-line rule:line-length
30
- uses : ishworkh/container-image-artifact-download@ccb3671db007622e886a2d7037eb62b119d5ffaf # v2.0 .0
30
+ uses : ishworkh/container-image-artifact-download@d5e9b6d62ef3f9762f6553c8178c2d925acc0409 # v2.1 .0
31
31
with :
32
32
image : " ${{ env.project-name }}:latest"
33
33
workflow : " build"
34
34
token : ${{ secrets.GH_SL_ACCESS_TOKEN }}
35
35
workflow_run_id : ${{ github.event.workflow_run.id }}
36
+ download_tmp_dir : ${{ runner.temp }}
36
37
- name : Check and remove downloaded artifact
37
38
# yamllint disable rule:line-length
39
+ env :
40
+ file : ${{ steps.image.outputs.download_path }}
38
41
run : |
39
42
set -xe
40
- file="/tmp/action_image_artifact_${{ github.event.repository.name }}_latest/${{ github.event.repository.name }}_latest"
41
43
echo "Info for comparing to build artifacts"
42
- sha256sum "${file}"
43
- tar -xOf "${file}" manifest.json | jq
44
- echo "TODO: https://github.com/ishworkh/container-image-artifact-download/issues/7#issuecomment-2904751460"
45
- rm -rfv "${file}"
44
+ sha256sum "${{env.file}}"
45
+ tar -xOf "${{env.file}}" manifest.json | jq
46
+ rm -rfv "${{env.file}}"
46
47
echo "TODO: https://docs.docker.com/engine/security/trust/"
47
48
# yamllint enable rule:line-length
48
49
# yamllint disable-line rule:line-length
You can’t perform that action at this time.
0 commit comments