Commit Graph

24 Commits (47091761a55905c2132552fdc540dfbbb990f5ab)

Author SHA1 Message Date
dependabot[bot] 1754dd185d
chore(deps): bump github.com/docker/distribution from 2.8.2+incompatible to 2.8.3+incompatible (#1780)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nils måsén <nils@piksel.se>
1 year ago
guangwu e8affe3fef
fix: received typo (#1765)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
1 year ago
Reinier van der Leer 25fdb40312
fix(registry): image name parsing behavior (#1526)
Co-authored-by: nils måsén <nils@piksel.se>
2 years ago
nils måsén cfcbcac8b0
fix: remove logging of credentials (#1534) 2 years ago
nils måsén 4d661bf63b
fix(registry): ignore empty challenge fields (#1626)
Co-authored-by: caotian <caotian@users.noreply.github.com>
2 years ago
nils måsén 14b235a542
feat: add oci image index support (#1533) 2 years ago
Jauder Ho e04a107694
chore(deps): update go version to 1.18 (#1363)
Co-authored-by: nils måsén <nils@piksel.se>
2 years ago
nils måsén 2c8695683d test: reduce test output noise 3 years ago
nils måsén 47a640b764
update dependencies (sane go.mod) (#1061) 3 years ago
nils måsén 9bb8991a76
fix(digest): check container image info for nil (#1027) 3 years ago
nils måsén f508c92ae0
* feat: custom user agent (#990)
* fix: move build meta to own package
  this allows it to be referenced from other packages without causing a cyclic dependency
* feat: custom user agent
3 years ago
nils måsén fdf6e46e7b
fix: use default http transport for head (#926)
note: still disables TLS verification to enable use with local regisitries
4 years ago
nils måsén b4cf17d33f
feat: make head pull failure warning toggleable (#912)
* feat: make head pull failure warning toggleable

* expect prometheus tests to go through EVENTUALLY

* wait for queue to be empty before checking test conditions

* clean up new head failure toggle

* fixup! clean up new head failure toggle

* test: add registry tests

* test: add warn on head failure tests

* fix client interface and make tests hit more lines

* make all tests use NewClient instead of creating a struct pointer

* fix lint issues

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
nils måsén 3bbe1bd109
fix manifest tag index in manifest.go (#731)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
Turtle Kalus 5983d58d7c
Log based on registry known-support - reduce noise on notifications (#716)
Log based on registry known-poor support of HEAD in checking container
manifest.

Some private registries do not support HEAD (E.G. GitLab Container Registry).
With the current config, this log message is causing a notification to be
sent for each container hosted in a registry lacking HEAD support.

log.Debug or log.Warning for failed HTTP HEAD-check based on registry hostname
where HEAD-check is known to fail.

For Docker Hub, a failed HEAD leading to a "regular pull" may count against a
user's call-quota whereas other registry implementations do not support HEAD,
or whose container manifest may be in a different location.
4 years ago
Simon Aronsson 89119515af
clean up scope builder and remove fmt print 4 years ago
Simon Aronsson cf6a71de81
fix linting issues 4 years ago
Simon Aronsson eb8580f7f2
make sure all different ref formats are supported 4 years ago
nils måsén cbe9ab87fa
move secret value "credentials" to trace log (#707) 4 years ago
Simon Aronsson ea16683c46
add defered closer calls for the http clients (#705) 4 years ago
Simon Aronsson cb62b16369
add http head based digest comparison to avoid dockerhub rate limits 4 years ago
Sebastiaan Tammer 7052346570
Added --trace flag and new log.Trace() lines for sensitive information (#541) 5 years ago
Sebastiaan Tammer b34a2f968d
Removed all potential debug password prints, both plaintext and encoded (#537) 5 years ago
Simon Aronsson d1abce889a refactor: extract code from the container package 5 years ago