We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f613f34 commit 82713c9Copy full SHA for 82713c9
.github/workflows/main.yaml
@@ -125,11 +125,8 @@ jobs:
125
echo "Error: $OUTPUT"
126
echo "azure_status=unknown" >> $GITHUB_ENV
127
else
128
- # Parse the output
129
- echo "Parsing output..."
130
- stdout_content=$(echo "$OUTPUT" | jq -r '.value[0].message' 2>/dev/null | grep -oP '\[stdout\]\K.*' | sed 's/\\n/\n/g')
131
-
132
# Determine the status based on output
+ stdout_content="$OUTPUT"
133
echo "Determing Azure VM Instance status..."
134
if echo "$stdout_content" | grep -q "NO_CONTAINERS"; then
135
echo "✓ No Docker containers running on Azure VM - VM is available"
0 commit comments