mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-07 16:34:20 +01:00
Added workflow to update Red Hat Container Catalog
This commit is contained in:
parent
05e96e4c29
commit
933171cb01
11
.github/workflows/rhel_registry_description.yml
vendored
11
.github/workflows/rhel_registry_description.yml
vendored
@ -12,6 +12,7 @@ on:
|
||||
env:
|
||||
DOCKERFILES_DIRECTORY: "./Dockerfiles"
|
||||
API_URL: "https://catalog.redhat.com/api/containers/v1/projects/certification/id/"
|
||||
MATRIX_FILE: "build.json"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@ -71,6 +72,16 @@ jobs:
|
||||
|
||||
echo "secret_prefix=RHEL_${github_ref//.}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Check ${{ env.MATRIX_FILE }} file
|
||||
id: build_exists
|
||||
env:
|
||||
MATRIX_FILE: ${{ env.MATRIX_FILE }}
|
||||
run: |
|
||||
if [[ ! -f "$MATRIX_FILE" ]]; then
|
||||
echo "::error::File $MATRIX_FILE is missing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Prepare Zabbix component list
|
||||
id: components
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user