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:
2727 - name : Download image
2828 id : image
2929 # 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
3131 with :
3232 image : " ${{ env.project-name }}:latest"
3333 workflow : " build"
3434 token : ${{ secrets.GH_SL_ACCESS_TOKEN }}
3535 workflow_run_id : ${{ github.event.workflow_run.id }}
36+ download_tmp_dir : ${{ runner.temp }}
3637 - name : Check and remove downloaded artifact
3738 # yamllint disable rule:line-length
39+ env :
40+ file : ${{ steps.image.outputs.download_path }}
3841 run : |
3942 set -xe
40- file="/tmp/action_image_artifact_${{ github.event.repository.name }}_latest/${{ github.event.repository.name }}_latest"
4143 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}}"
4647 echo "TODO: https://docs.docker.com/engine/security/trust/"
4748 # yamllint enable rule:line-length
4849 # yamllint disable-line rule:line-length
You can’t perform that action at this time.
0 commit comments