Skip to content

Commit b3ec3e9

Browse files
committed
chore: apply copilot suggestion
1 parent f34aa60 commit b3ec3e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/go_app_pull_requests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,11 @@ jobs:
226226
fi
227227
228228
# Verify image is available
229-
docker images | grep integrations-testsuite || echo "Warning: integrations-testsuite image not found"
229+
if ! docker images | grep -q integrations-testsuite; then
230+
echo "Error: integrations-testsuite image not found after load/pull"
231+
exit 1
232+
fi
233+
echo "✅ integrations-testsuite image verified"
230234
# Cache custom Docker images (specified by caller)
231235
- name: Cache custom Docker images
232236
if: ${{ inputs.GO_TEST_INTEGRATION_ENABLED && inputs.DOCKER_CACHE_IMAGES != '' }}

0 commit comments

Comments
 (0)