mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 07:43:47 +01:00
commit
46183dc14f
2
.github/scripts/rhel_description.py
vendored
2
.github/scripts/rhel_description.py
vendored
@ -43,6 +43,6 @@ result = requests.patch(os.environ["API_URL"] + os.environ["PROJECT_ID"],
|
||||
data = json.dumps(data))
|
||||
|
||||
print("::group::Result")
|
||||
print("Response code: " + str(result))
|
||||
print("Response code: " + str(result.status_code))
|
||||
print("Last update date: " + json.loads(result.content)['last_update_date'])
|
||||
print("::endgroup::")
|
||||
|
@ -125,5 +125,9 @@ jobs:
|
||||
PROJECT_ID: ${{ secrets[format('{0}_{1}_PROJECT', steps.branch_info.outputs.secret_prefix, steps.var_format.outputs.matrix_build)] }}
|
||||
PYXIS_API_TOKEN: ${{ secrets.REDHAT_API_TOKEN }}
|
||||
API_URL: ${{ env.API_URL }}
|
||||
run: python ./.github/scripts/rhel_description.py
|
||||
COMPONENT: ${{ matrix.component }}
|
||||
ZABBIX_RELEASE: ${{ steps.branch_info.outputs.zabbix_release }}
|
||||
run: |
|
||||
python ./.github/scripts/rhel_description.py
|
||||
echo "https://catalog.redhat.com/software/containers/zabbix/zabbix-${COMPONENT}-${ZABBIX_RELEASE}/${PROJECT_ID}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user