Skip to content

Commit f67f84e

Browse files
committed
Update load action
1 parent d70b78d commit f67f84e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

load-docker-image/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ outputs:
4040
runs:
4141
using: 'composite'
4242
steps:
43+
- name: Ensure Image Path Exists
44+
id: mkdir-image-path
45+
shell: bash
46+
run: |
47+
mkdir -p ${{ inputs.image-path }}
48+
4349
- name: Download Docker Image Artifact
4450
uses: actions/download-artifact@v4
4551
with:
@@ -59,6 +65,8 @@ runs:
5965
# Check if the tar file exists
6066
if [ ! -f "${IMAGE}" ]; then
6167
echo "❌ Docker image file not found: ${IMAGE}"
68+
echo "Files in image path:"
69+
ls -al ${{ inputs.image-path }}
6270
exit 1
6371
fi
6472

0 commit comments

Comments
 (0)