Skip to content

Commit dfc395b

Browse files
authored
Fix c8l library for att push (#25)
Signed-off-by: Jose I. Paris <[email protected]>
1 parent 090c381 commit dfc395b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/c8l

+2
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,8 @@ chainloop_summary() {
856856
digest=$(cat c8-push.txt | grep " Digest: " | awk -F'sha256:' '{print $2}')
857857
echo "**[Chainloop Trust Report]( https://app.chainloop.dev/attestation/sha256:${digest} )**" >>$tmpfile
858858
echo "\`\`\`" >>$tmpfile
859+
fi
860+
if [ -f c8-status.txt ]; then
859861
cat c8-status.txt >>$tmpfile
860862
echo "\`\`\`" >>$tmpfile
861863
fi

tools/src/lib/chainloop.sh

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ chainloop_summary() {
161161
digest=$(cat c8-push.txt | grep " Digest: " | awk -F'sha256:' '{print $2}')
162162
echo "**[Chainloop Trust Report]( https://app.chainloop.dev/attestation/sha256:${digest} )**" >>$tmpfile
163163
echo "\`\`\`" >>$tmpfile
164+
fi
165+
if [ -f c8-status.txt ]; then
164166
cat c8-status.txt >>$tmpfile
165167
echo "\`\`\`" >>$tmpfile
166168
fi

0 commit comments

Comments
 (0)