Commit 9d28ae7b authored by Rémi VERCHERE's avatar Rémi VERCHERE
Browse files

Update get_registry_images.py

parent 737785c2
Pipeline #8713 canceled with stages
in 35 seconds
......@@ -12,12 +12,8 @@ headers = {
"PRIVATE-TOKEN": os.environ["GITLAB_PRIVATE_TOKEN"]
}
pprint(url)
pprint(headers)
projects_api_responses = requests.get("{}/api/v4/projects/?{}".format(url,"simple=true"), headers=headers)
print(projects_api_responses)
projects_api_responses_headers = projects_api_responses.headers
pprint(projects_api_responses_headers)
total_pages = projects_api_responses_headers["X-Total-Pages"]
for page in range (0, int(total_pages)):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment