We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2a53e commit 6d34943Copy full SHA for 6d34943
2 files changed
Dockerfile
@@ -1,7 +1,7 @@
1
FROM alpine:3.3
2
3
-ENV DOCKER_REGISTRY_TAG=v2.3.0 \
4
- DOCKER_REGISTRY_REPO=https://github.com/docker/distribution.git \
+ENV DOCKER_REGISTRY_TAG=radosgw \
+ DOCKER_REGISTRY_REPO=https://github.com/kmala/distribution.git \
5
DOCKER_BUILDTAGS=include_gcs
6
7
# install registry binaries
main.go
@@ -25,7 +25,7 @@ func main() {
25
} else {
26
os.Setenv("REGISTRY_STORAGE_GCS_BUCKET", string(bucket))
27
}
28
- } else if storageType == "s3" {
+ } else if storageType == "generic" {
29
if accesskey, err := ioutil.ReadFile("/var/run/secrets/deis/registry/creds/accesskey"); err != nil {
30
log.Fatal(err)
31
0 commit comments