mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Allow customizing the hub link (#648)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -14,6 +14,7 @@ type Image struct {
|
||||
IncludeTags []string `yaml:"include_tags,omitempty" json:",omitempty"`
|
||||
ExcludeTags []string `yaml:"exclude_tags,omitempty" json:",omitempty"`
|
||||
HubTpl string `yaml:"hub_tpl,omitempty" json:",omitempty"`
|
||||
HubLink string `yaml:"hub_link,omitempty" json:",omitempty"`
|
||||
}
|
||||
|
||||
// ImagePlatform holds image platform configuration
|
||||
|
||||
@@ -6,9 +6,10 @@ import (
|
||||
|
||||
// Job holds job configuration
|
||||
type Job struct {
|
||||
Provider string
|
||||
Image Image
|
||||
RegImage registry.Image
|
||||
Registry *registry.Client
|
||||
FirstCheck bool
|
||||
Provider string
|
||||
Image Image
|
||||
RegImage registry.Image
|
||||
Registry *registry.Client
|
||||
FirstCheck bool
|
||||
HubLinkOverride string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user