Skip to content

Commit

Permalink
fix(run): use quay for sonobuoy image
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrt committed Jun 30, 2022
1 parent 5943cf9 commit 50b36f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ package run

import (
"context"
"fmt"

"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/vmware-tanzu/sonobuoy/pkg/buildinfo"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/loader"
Expand Down Expand Up @@ -91,7 +93,7 @@ func NewCmdRun(config *pkg.Config) *cobra.Command {
},
}

cmd.Flags().StringVar(&o.config.SonobuoyImage, "sonobuoy-image", "", "Image override for the Sonobuoy worker and aggregator")
cmd.Flags().StringVar(&o.config.SonobuoyImage, "sonobuoy-image", fmt.Sprintf("quay.io/mrbraga/sonobuoy:%s", buildinfo.Version), "Image override for the Sonobuoy worker and aggregator")
cmd.Flags().IntVar(&o.config.Timeout, "timeout", runTimeoutSeconds, "Execution timeout in seconds")
cmd.Flags().BoolVarP(&o.config.Watch, "watch", "w", false, "Keep watch status after running")
cmd.Flags().StringArrayVar(o.plugins, "plugin", nil, "Override default conformance plugins to use. Can be used multiple times (defaults to latest plugins in https://github.com/openshift/provider-certification-tool)")
Expand Down

0 comments on commit 50b36f8

Please sign in to comment.