Files
Kevin Minehart 13f4cf162e CI: move grafana-build into pkg/build (#105640)
* move grafana-build into pkg/build
2025-05-20 10:48:00 -05:00

37 lines
1.1 KiB
Go

package docker
type DockerOpts struct {
// Registry is the docker Registry for the image.
// If using '--save', then this will have no effect.
// Uses docker hub by default.
// Example: us.gcr.io/12345
Registry string
// AlpineBase is supplied as a build-arg when building the Grafana docker image.
// When building alpine versions of Grafana it uses this image as its base.
AlpineBase string
// UbuntuBase is supplied as a build-arg when building the Grafana docker image.
// When building ubuntu versions of Grafana it uses this image as its base.
UbuntuBase string
// Username is supplied to login to the docker registry when publishing images.
Username string
// Password is supplied to login to the docker registry when publishing images.
Password string
// Org overrides the organization when when publishing images.
Org string
// Repository overrides the repository when when publishing images.
Repository string
// Latest is supplied to also tag as latest when publishing images.
Latest bool
// TagFormat and UbuntuTagFormat should be formatted using go template tags.
TagFormat string
UbuntuTagFormat string
}