chore(ci): group image size graph per day (#37539)

pull/37524/head^2
Rodrigo Nascimento 2 months ago committed by GitHub
parent c8d6c601f1
commit d064a79741
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/actions/docker-image-size-tracker/action.yml

@ -236,7 +236,7 @@ runs:
if [[ -d /tmp/history-worktree/history ]]; then
jq -s '.' /tmp/history-worktree/history/*.json 2>/dev/null | jq '
sort_by(.timestamp) |
group_by(.timestamp[0:16]) |
group_by(.timestamp[0:10]) |
map(.[-1]) |
.[-30:]
' > history-data.json || echo "[]" > history-data.json

Loading…
Cancel
Save