test: update registry version to latest
The one used in the integration tests was 6 years old. Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
parent
b63400fa4a
commit
143b3b2ef3
2 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,7 @@ WORKDIR /go/src/github.com/docker/distribution
|
|||
# from the https://github.com/docker/distribution repository. This version of
|
||||
# the registry is used to test both schema 1 and schema 2 manifests. Generally,
|
||||
# the version specified here should match a current release.
|
||||
ARG REGISTRY_VERSION=v2.3.0
|
||||
ARG REGISTRY_VERSION=v2.8.2
|
||||
# REGISTRY_VERSION_SCHEMA1 specifies the version of the registry to build and
|
||||
# install from the https://github.com/docker/distribution repository. This is
|
||||
# an older (pre v2.3.0) version of the registry that only supports schema1
|
||||
|
|
|
@ -107,10 +107,12 @@ http:
|
|||
}
|
||||
|
||||
binary := V2binary
|
||||
args := []string{"serve", confPath}
|
||||
if c.schema1 {
|
||||
binary = V2binarySchema1
|
||||
args = []string{confPath}
|
||||
}
|
||||
cmd := exec.Command(binary, confPath)
|
||||
cmd := exec.Command(binary, args...)
|
||||
cmd.Stdout = c.stdout
|
||||
cmd.Stderr = c.stderr
|
||||
if err := cmd.Start(); err != nil {
|
||||
|
|
Loading…
Reference in a new issue