Allow customizing the hub link (#648)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-07-17 15:56:06 +02:00
committed by GitHub
parent 190578f612
commit c89e54888e
11 changed files with 32 additions and 6 deletions

View File

@@ -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

View File

@@ -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
}