Plugins: Pass image tag separately for plugin container mode (#112344)

propagate tag
This commit is contained in:
Will Browne
2025-10-14 15:25:04 +01:00
committed by GitHub
parent 7395f803c1
commit ab4bacbead
2 changed files with 7 additions and 3 deletions
@@ -57,6 +57,7 @@ type ProtoClientOpts struct {
type ContainerModeOpts struct {
Enabled bool
Image string
Tag string
}
func NewProtoClient(opts ProtoClientOpts) (ProtoClient, error) {
@@ -70,6 +71,7 @@ func NewProtoClient(opts ProtoClientOpts) (ProtoClient, error) {
containerMode: containerModeOpts{
enabled: opts.ContainerMode.Enabled,
image: opts.ContainerMode.Image,
tag: opts.ContainerMode.Tag,
},
skipHostEnvVars: opts.SkipHostEnvVars,
},