Skip to content

Commit 8dfbdb6

Browse files
authored
Merge pull request #1064 from stackhpc/container-image-build-command-not-found
fix: conditional missing brackets
2 parents 57be0da + 2db308a commit 8dfbdb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258
if docker push $image; then
259259
echo "Pushed $image"
260260
break
261-
elif $i == 5; then
261+
elif [ $i -eq 5 ] ; then
262262
echo "Failed to push $image"
263263
echo $image >> image-build-logs/push-failed-images.txt
264264
else

0 commit comments

Comments
 (0)