Commit Graph

34 Commits

Author SHA1 Message Date
CrazyMax
ed706b60ad switch to go.podman.io/image/v5 2025-09-13 19:47:16 +02:00
CrazyMax
a5444ad6a1 chore(deps): bump dario.cat/mergo to 1.0.1 2024-12-15 15:41:18 +01:00
CrazyMax
b9615bf2db fix defaults not handled by yaml configuration 2023-09-23 13:49:15 +02:00
CrazyMax
522c8e9448 handle analysis of image with tag and digest 2023-09-16 18:41:00 +02:00
Ian Fijolek
60ddac4a59 Global defaults for image configs
Allows setting of image configs at a global level to act as default
values.

This required a change in the model.Image struct due to a bool field not
having a third, unset state. The remedy is to unmarshal into a temporary
data structure to detect the presents of a field value and then use that
to determine if the default value should be used.

Fixes #491
2023-09-12 12:10:10 -07:00
CrazyMax
073e08ee11 Entry metadata field 2022-12-29 11:15:26 +01:00
CrazyMax
c89e54888e Allow customizing the hub link (#648)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-17 15:56:06 +02:00
CrazyMax
190578f612 Use OCI image.url label to override hub link (#646)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-17 14:55:14 +02:00
CrazyMax
857e462090 Tags sorting support (#645)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-17 13:47:37 +02:00
CrazyMax
fc13b8c22c Allow to choose status to be notified (#475)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-30 14:15:59 +02:00
CrazyMax
d75d05ca89 Handle registry auth config (#411)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-18 00:12:21 +02:00
CrazyMax
e02d443e8b Avoid notification for unupdated image (#406)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-17 15:20:32 +02:00
CrazyMax
daeefb16b3 Use digest as comparison footprint (#269)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-08 19:18:30 +00:00
CrazyMax
9819a73582 Handle exclusions as a distinct status (#248)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-28 21:32:56 +00:00
CrazyMax
1145bf3dff Fix duplicated notifications 2020-11-16 18:31:17 +01:00
CrazyMax
b1953afdae Check digest from HEAD request (#217)
* Check digest from HEAD request
* Add FAQ note about Docker Hub rate limits
* Compare digest as watch setting

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-12 23:00:01 +00:00
CrazyMax
0f17ed12c1 Add support for Healthchecks to monitor Diun watcher (#78) 2020-10-13 20:23:05 +00:00
CrazyMax
c0e3f7e85f Automatically determine registry options based on image name (#103)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-22 00:19:59 +00:00
CrazyMax
9146b78111 More explicit massage if manifest not found (#94) 2020-06-20 02:50:18 +02:00
CrazyMax
6e8b0450ff Add link to respective hub (#40) 2020-06-09 01:06:27 +00:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
349917e7e4 Configuration transposed into environment variables (#82)
Configuration file not required anymore
DIUN_DB env var renamed DIUN_DB_PATH
Only accept duration as timeout value (10 becomes 10s)
Add getting started doc
Enhanced documentation
Add note about test notifications (#79)
Improve configuration management
Fix telegram init
All fields in configuration now camelCased
Improve configuration validation
Update doc
Update FAQ

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-07 19:58:49 +00:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
af23c5898c Remove "enable" setting for notifiers 2020-05-26 01:13:06 +02:00
CrazyMax
9c797f1616 Review of platform detection (#56)
* Leave default image platform empty for static provider (see FAQ doc)
* Handle platform variant
* Add database migration process
* Switch to Open Container Specification labels as label-schema.org ones are deprecated
* Remove unneeded `diun.os` and `diun.arch` docker labels

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-03-31 23:27:10 +02:00
CrazyMax
fbfc7a2690 Move registry client to a dedicated package 2020-01-19 22:47:18 +01:00
CrazyMax
a42516fca7 Set user agent for Docker registry client 2020-01-07 09:12:39 +01:00
CrazyMax
7a8b4677fc Add option to skip notification at the very first analysis of an image (#10) 2019-12-22 16:32:27 +01:00
CrazyMax
51c0e3caca Coding style 2019-12-14 17:45:52 +01:00
CrazyMax
c60fe06894 Include provider in notifications 2019-12-14 17:13:32 +01:00
CrazyMax
480d1e1d45 Fix tags not processed 2019-12-14 15:42:09 +01:00
CrazyMax
827703aa72 Move image validation and improve job execution 2019-12-14 02:42:37 +01:00
CrazyMax
39459f42fc Add fields to load sensitive values from file (#7) 2019-12-14 01:19:26 +01:00
CrazyMax
32438dbb2e Implement Docker provider (#3) 2019-12-13 23:04:02 +01:00