Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Sep 2, 2024
1 parent 5928aee commit d79a957
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ jobs:
cache-to: type=gha,mode=max
- name: Display image digest
run: |
cat << 'EOF' >> $GITHUB_STEP_SUMMARY
name=$(cut --delimiter=',' --fields=1 <<< "$NAME")
```
${{ fromJson(env.metadata)['image.name'] }}@${{ fromJson(env.metadata)['containerimage.digest'] }}
```
echo '```' >> $GITHUB_STEP_SUMMARY
echo "$name@$DIGEST" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
env:
metadata: ${{ steps.build.outputs.metadata }}
NAME: ${{ fromJson(steps.build.outputs.metadata)['image.name'] }}
DIGEST: ${{ fromJson(steps.build.outputs.metadata)['containerimage.digest'] }}

0 comments on commit d79a957

Please sign in to comment.