docker-registry-sync 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/docker/registry/sync/cmd.rb +1 -1
- data/lib/docker/registry/sync/s3.rb +2 -2
- data/lib/docker/registry/sync/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTE2MzA1NjZmNTUzYWUzY2M3ZmEyNDM0N2RjODZlMDVjMDkyZTI2MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDA3NTIyMmY5MzBmYjYxNDc2ZmFjN2Q5NmZlMWVkZThkMGY2MTJkOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzQzZmM4YzkyODliNTE2OGUzNjliYzQwNGZhNWI2ZTgwMDAwM2M3ZDZiMzhi
|
10
|
+
ZTdiZTk2NTc3YTg3NzI3Nzg5YTk3NzAzNzFhYTI3YzUxMTAzOTg5NmM2NTJm
|
11
|
+
NzkxN2JkYmZjNDUxMzcxYTc2ODU5Y2E4NGIwZmMzMTJlOTExMDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2EyNGM3ZjE1M2ExOWYzZWVkMWY1MzU4YjQ4NDY2MzYwN2E5N2EzNDg4ZGEx
|
14
|
+
MjkxZDUyOGU0ZTM3OGE0MzRiM2QyNTJiMTU0MTc1YTUzMDEwMWQ2NWVmMzgx
|
15
|
+
M2YxNjE5M2QyZDMwNTY4MDFhYmZmMmQ0ZTRmZDcyMjc4NzdhYmE=
|
@@ -75,9 +75,9 @@ module Docker
|
|
75
75
|
ancestry_resp = s3_source.get_object(bucket: source_bucket, key: "registry/images/#{image_id}/ancestry")
|
76
76
|
# Ancestry includes self
|
77
77
|
JSON.load(ancestry_resp.body.read).each do |image|
|
78
|
-
unless @synced_images.include? image
|
78
|
+
unless @synced_images.include? "#{image}:#{region}:#{bucket}"
|
79
79
|
sync_prefix(s3_source, s3_target, bucket, sse, "registry/images/#{image}/", source_bucket)
|
80
|
-
@synced_images << image
|
80
|
+
@synced_images << "#{image}:#{region}:#{bucket}"
|
81
81
|
end
|
82
82
|
end
|
83
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-registry-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Oldfield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|