Created
June 21, 2021 16:11
-
-
Save ghiculescu/2a05b2c1179a46f4c2a3ec627e1b16a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "json" | |
require "net/http" | |
image = "ruby" | |
uri = URI("https://registry.hub.docker.com/v1/repositories/#{image}/tags") | |
json = Net::HTTP.get(uri) | |
# json == "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment