From 7d3c32db6f33dc2e57ed6f21ea3379f151a215ab Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 20 Feb 2024 00:49:04 +0900 Subject: [PATCH] Added workflow to update Red Hat Container Catalog --- .github/workflows/rhel_registry_description.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rhel_registry_description.yml b/.github/workflows/rhel_registry_description.yml index f3461f08e..f17e5f482 100644 --- a/.github/workflows/rhel_registry_description.yml +++ b/.github/workflows/rhel_registry_description.yml @@ -70,8 +70,8 @@ jobs: echo "secret_prefix=RHEL_${github_ref//.}" echo "::endgroup::" - #echo "secret_prefix=RHEL_${github_ref//.}" >> $GITHUB_OUTPUT - echo "secret_prefix=RHEL_64" >> $GITHUB_OUTPUT + echo "zabbix_release=64" >> $GITHUB_OUTPUT + echo "secret_prefix=RHEL_${github_ref//.}" >> $GITHUB_OUTPUT - name: Check ${{ env.MATRIX_FILE }} file id: build_exists @@ -99,7 +99,7 @@ jobs: - name: Variables formating id: var_format env: - MATRIX_BUILD: ${{ matrix.build }} + MATRIX_BUILD: ${{ matrix.component }} run: | MATRIX_BUILD=${MATRIX_BUILD^^} MATRIX_BUILD=${MATRIX_BUILD//-/_} @@ -118,7 +118,7 @@ jobs: python -m pip install --upgrade pip pip install markdown requests - - name: Update Red Hat project description (zabbix-${{ matrix.component }}) + - name: Update Red Hat project description (${{ matrix.component }}-${{ steps.branch_info.outputs.zabbix_release }}) env: DESCRIPTION_FILE: ${{ format('{0}/{1}/rhel/README', env.DOCKERFILES_DIRECTORY, matrix.component) }} PROJECT_ID: ${{ secrets[format('{0}_{1}_PROJECT', steps.branch_info.outputs.secret_prefix, steps.var_format.outputs.matrix_build)] }}