Skip to content

Commit 6d34943

Browse files
author
Keerthan Mala
committed
add support for minio
1 parent 1a2a53e commit 6d34943

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine:3.3
22

3-
ENV DOCKER_REGISTRY_TAG=v2.3.0 \
4-
DOCKER_REGISTRY_REPO=https://github.com/docker/distribution.git \
3+
ENV DOCKER_REGISTRY_TAG=radosgw \
4+
DOCKER_REGISTRY_REPO=https://github.com/kmala/distribution.git \
55
DOCKER_BUILDTAGS=include_gcs
66

77
# install registry binaries

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func main() {
2525
} else {
2626
os.Setenv("REGISTRY_STORAGE_GCS_BUCKET", string(bucket))
2727
}
28-
} else if storageType == "s3" {
28+
} else if storageType == "generic" {
2929
if accesskey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accesskey"); err != nil {
3030
log.Fatal(err)
3131
} else {

0 commit comments

Comments
 (0)