Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for opencontainers meta labels #1729

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

piksel
Copy link
Member

@piksel piksel commented Aug 12, 2023

This PR will add some support for the OpenContainers metadata labels, which can provide additional information about updated images in notifications.

Example template usage:

  {{- if .Report -}}
    {{- with .Report -}}
        {{- range .Updated}}
  - {{.Before.Title}} ({{.ImageName}}) was updated from version {{.Before.Version}} to {{.After.Version}} (released {{.After.Created}})
        {{- end -}}
  {{- else -}}
    {{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
  {{- end -}}

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Patch coverage: 45.45% and project coverage change: -0.15% ⚠️

Comparison is base (9f60766) 67.60% compared to head (08d2f3e) 67.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1729      +/-   ##
==========================================
- Coverage   67.60%   67.46%   -0.15%     
==========================================
  Files          26       26              
  Lines        2380     2388       +8     
==========================================
+ Hits         1609     1611       +2     
- Misses        672      678       +6     
  Partials       99       99              
Files Changed Coverage Δ
pkg/container/client.go 48.71% <0.00%> (-0.77%) ⬇️
internal/actions/update.go 70.68% <100.00%> (+0.31%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant