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 e30e62e commit 0585dc1Copy full SHA for 0585dc1
.github/workflows/build_image.yml
@@ -84,7 +84,7 @@ jobs:
84
run: |
85
OUTPUT="$(snyk container test ${{ matrix.tag }} --file=${{ matrix.dockerfile }} --severity-threshold=high --fail-on=all || true)"
86
# ANSIエスケープコードを削除
87
- CLEAN_OUTPUT="$(echo "$OUTPUT" | sed 's/\x1b\[[0-9;]*m//g')"
+ CLEAN_OUTPUT="${OUTPUT//$'\x1b\['[0-9;]*m/}"
88
{
89
echo "CLI_OUTPUT<<EOF"
90
echo "${CLEAN_OUTPUT}"
0 commit comments