File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ until confd -onetime -node $ETCD --confdir /app --log-level error; do
5151done
5252
5353# ensure registry bucket exists
54- /app/bin/create_bucket ${BUCKET_NAME}
54+ /app/bin/create_bucket
5555
5656# spawn the service in the background
5757cd /docker-registry
Original file line number Diff line number Diff line change 55gid = 0
66mode = " 0755"
77keys = [
8+ " /deis/registry" ,
89 " /deis/store/gateway" ,
910]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ conn = boto.connect_s3(
1111 port = {{ getv "/deis/store/gateway/port" }},
1212 is_secure = False ,
1313 calling_format = OrdinaryCallingFormat ())
14- name = sys . argv [ 1 ]
14+ name = '{{ getv "/deis/registry/bucketName" }}'
1515
1616if name not in (bucket .name for bucket in conn .get_all_buckets ()):
1717 conn .create_bucket (name )
You can’t perform that action at this time.
0 commit comments