1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 09:45:55 +01:00
Files
image-registry/pkg/testframework/versions.go
2018-01-31 12:55:42 -05:00

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