We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9514429 commit 46e808dCopy full SHA for 46e808d
lib/utils/uri_utils.rb
@@ -73,9 +73,9 @@ def self.parse_docker_uri(docker_uri)
73
74
# if only sha256 presented, we add hash value as fragment to the uri,
75
# since the ruby uri parser confuses because of second ':' in uri's path part.
76
- if tag_digest && tag_digest.start_with?("sha256:")
77
- hash_algo, hash_value = tag_digest.split(":")
78
- path = path + "@sha256"
+ if tag_digest && tag_digest.start_with?('sha256:')
+ hash_algo, hash_value = tag_digest.split(':')
+ path = path + '@sha256'
79
tag_digest = hash_value
80
end
81
0 commit comments