We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed5af5f commit 85dba20Copy full SHA for 85dba20
1 file changed
.github/workflows/build_multi_arch_image.yml
@@ -75,10 +75,16 @@ jobs:
75
- name: Extract images
76
if: ${{ !inputs.push_image }}
77
run: |
78
- for img in eps-devcontainer-*.img; do
79
- echo "Loading image from $img..."
80
- docker load -i "$img"
81
- done
+ shopt -s nullglob
+ imgs=(eps-devcontainer-*.img)
+ if [ ${#imgs[@]} -eq 0 ]; then
+ echo "No images found to load."
82
+ else
83
+ for img in "${imgs[@]}"; do
84
+ echo "Loading image from $img..."
85
+ docker load -i "$img"
86
+ done
87
+ fi
88
89
- name: Build container
90
0 commit comments