mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-02 10:59:18 +01:00
Merge pull request #1222 from zabbix/workflow_64
Added workflow to update Red Hat Container Catalog
This commit is contained in:
commit
4b4140107c
@ -52,12 +52,11 @@ jobs:
|
||||
github_ref: ${{ github.ref }}
|
||||
run: |
|
||||
result=false
|
||||
sha_short=$(git rev-parse --short HEAD)
|
||||
|
||||
github_ref=${github_ref##*/}
|
||||
|
||||
echo "::group::Branch metadata"
|
||||
echo "secret_prefix=RHEL_${github_ref//.}"
|
||||
echo "zabbix_release=${github_ref//.}"
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "zabbix_release=${github_ref//.}" >> $GITHUB_OUTPUT
|
||||
@ -135,14 +134,14 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install markdown requests
|
||||
|
||||
- name: Update Red Hat project description (${{ matrix.component }}-${{ needs.branch_info.outputs.zabbix_release }})
|
||||
- name: Update Red Hat project description (${{ matrix.component }}-${{ needs.init.outputs.zabbix_release }})
|
||||
env:
|
||||
DESCRIPTION_FILE: ${{ format('{0}/{1}/rhel/README', env.DOCKERFILES_DIRECTORY, matrix.component) }}
|
||||
PROJECT_ID: ${{ secrets[format('RHEL_{0}_{1}_PROJECT', needs.branch_info.outputs.zabbix_release, needs.var_format.outputs.matrix_build)] }}
|
||||
PROJECT_ID: ${{ secrets[format('RHEL_{0}_{1}_PROJECT', needs.init.outputs.zabbix_release, needs.var_format.outputs.matrix_build)] }}
|
||||
PYXIS_API_TOKEN: ${{ secrets.REDHAT_API_TOKEN }}
|
||||
API_URL: ${{ env.API_URL }}
|
||||
COMPONENT: ${{ matrix.component }}
|
||||
ZABBIX_RELEASE: ${{ needs.branch_info.outputs.zabbix_release }}
|
||||
ZABBIX_RELEASE: ${{ needs.init.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