diff --git a/.github/scripts/rhel_description.py b/.github/scripts/rhel_description.py index 5c8bc238d..aab8dd470 100644 --- a/.github/scripts/rhel_description.py +++ b/.github/scripts/rhel_description.py @@ -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::") diff --git a/.github/workflows/rhel_registry_description.yml b/.github/workflows/rhel_registry_description.yml index 6fe0af902..4b0ecb485 100644 --- a/.github/workflows/rhel_registry_description.yml +++ b/.github/workflows/rhel_registry_description.yml @@ -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}"