• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mindersec / minder / 37354520397
63%

Build:
DEFAULT BRANCH: main
Ran 05 Oct 2026 06:22PM UTC
Jobs 1
Files 364
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Oct 2026 06:14PM UTC coverage: 62.72% (+0.4%) from 62.29%
37354520397

push

github

web-flow
Add artifact-entity support for DockerHub and Quay providers (#6808)

* Add artifact-entity support for DockerHub and Quay providers

Implements SupportsEntity, GetEntityName, and FetchAllProperties for
ENTITY_ARTIFACTS on both providers, mirroring the existing OCI-embedding
pattern. Artifacts are identified by a <repo> or <repo>:<tag> reference
(tag defaults to latest), resolved to a digest via the embedded oci.OCI
client's GetDigest.

Verified DockerHub against a live docker.io registry (library/alpine:latest).

Part of #6779.

* Extract shared OCI artifact-parsing helpers, use provider-scoped upstream_id

Per review feedback on #6808: parseImageRef and artifactNameFromProperties
were duplicated between dockerhub.go and quay.go. Moved them to
internal/providers/oci/artifact.go as ParseImageRef,
ArtifactNameFromProperties, and NewArtifactProperties, since both
providers already depend on internal/providers/oci.

upstream_id is now <repo>@<digest> instead of a bare digest -- a bare
digest isn't unique within a provider (a mirrored image shares the same
digest as the original), so this pairs it with the repo name, which the
provider already scopes to a single namespace.

* Note webhook-driven artifact registration as a TODO

* Implement PropertiesToProtoMessage for DockerHub and Quay artifacts

Artifacts registered through these providers couldn't be converted to
a minderv1.Artifact, so reconcile, refresh and GetArtifact all failed
on a nil message.

Set Owner to the provider namespace and Name to the repository without
the tag, so the verifier builds <registry>/<namespace>/<repo>@<digest>.

108 of 130 new or added lines in 3 files covered. (83.08%)

22267 of 35502 relevant lines covered (62.72%)

40.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
46.97
32.15% internal/providers/dockerhub/dockerhub.go
10
41.79
34.52% internal/providers/quay/quay.go
2
96.0
internal/providers/oci/artifact.go
Jobs
ID Job ID Ran Files Coverage
1 37354520397.1 05 Oct 2026 06:22PM UTC 364
62.72
GitHub Action Run
Source Files on build 37354520397
  • Tree
  • List 364
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37354520397
  • 319895c1 on github
  • Prev Build on main (#37079005582)
  • Next Build on main (#37385833874)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc