mirror of
https://github.com/openshift/image-registry.git
synced 2026-02-05 09:45:55 +01:00
18 lines
325 B
Go
18 lines
325 B
Go
package testframework
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
var (
|
|
// originImageRef is the Docker image name of the OpenShift Origin container.
|
|
originImageRef = "docker.io/openshift/origin:latest"
|
|
)
|
|
|
|
func init() {
|
|
version := os.Getenv("ORIGIN_VERSION")
|
|
if len(version) != 0 {
|
|
originImageRef = "docker.io/openshift/origin:" + version
|
|
}
|
|
}
|