mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-19 08:17:34 +02:00
Added workflow to update Red Hat Container Catalog
This commit is contained in:
parent
d70750efb6
commit
130c2f1a3e
2
.github/scripts/rhel_description.py
vendored
2
.github/scripts/rhel_description.py
vendored
@ -40,4 +40,4 @@ data['container']['repository_description'] = repository_description[:32768]
|
||||
headers = {'accept' : 'application/json', 'X-API-KEY' : os.environ["PYXIS_API_TOKEN"], 'Content-Type' : 'application/json'}
|
||||
result = requests.patch(os.environ["API_URL"] + os.environ["PROJECT_ID"], headers = headers, data = json.dumps(data))
|
||||
print(result)
|
||||
print(json.loads(r.content)['last_update_date'])
|
||||
print(json.loads(result.content)['last_update_date'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user