Commit graph

11 commits

Author SHA1 Message Date
nils måsén
3bbe1bd109
fix manifest tag index in manifest.go (#731)
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2021-01-02 14:32:05 +01:00
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.
2020-12-23 00:48:38 +01:00
Simon Aronsson
89119515af
clean up scope builder and remove fmt print 2020-12-21 18:20:38 +01:00
Simon Aronsson
cf6a71de81
fix linting issues 2020-12-21 18:11:08 +01:00
Simon Aronsson
eb8580f7f2
make sure all different ref formats are supported 2020-12-21 18:06:14 +01:00
nils måsén
cbe9ab87fa
move secret value "credentials" to trace log (#707) 2020-12-20 19:23:49 +01:00
Simon Aronsson
ea16683c46
add defered closer calls for the http clients (#705) 2020-12-09 16:18:07 +01:00
Simon Aronsson
cb62b16369
add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
Sebastiaan Tammer
7052346570
Added --trace flag and new log.Trace() lines for sensitive information (#541) 2020-05-11 06:09:52 +02:00
Sebastiaan Tammer
b34a2f968d
Removed all potential debug password prints, both plaintext and encoded (#537) 2020-05-09 20:21:36 +02:00
Simon Aronsson
d1abce889a refactor: extract code from the container package 2020-01-11 23:36:07 +01:00