From dbf1d65b405192e1209961ef0bf3c2a4caf9554e Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 20 Feb 2024 01:20:28 +0900 Subject: [PATCH 1/2] Added workflow to update Red Hat Container Catalog --- .github/workflows/rhel_registry_description.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rhel_registry_description.yml b/.github/workflows/rhel_registry_description.yml index 4b0ecb485..8831451b2 100644 --- a/.github/workflows/rhel_registry_description.yml +++ b/.github/workflows/rhel_registry_description.yml @@ -46,10 +46,12 @@ jobs: uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 with: disable-sudo: true - egress-policy: audit + egress-policy: block allowed-endpoints: > + catalog.redhat.com:443 + files.pythonhosted.org:443 github.com:443 - hub.docker.com:443 + pypi.org:443 - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -110,11 +112,12 @@ jobs: echo "::endgroup::" echo "matrix_build=${MATRIX_BUILD}" >> $GITHUB_OUTPUT - - uses: actions/setup-python@v4 + - name: Setup Python 3.x + uses: actions/setup-python@v4 with: python-version: '3.x' - - name: install python packages + - name: Install Python packages run: | python -m pip install --upgrade pip pip install markdown requests From 4d0255b5df29c8fa20cbab163a898d48385fa6d7 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 20 Feb 2024 01:21:51 +0900 Subject: [PATCH 2/2] Added workflow to update Red Hat Container Catalog --- .github/workflows/rhel_registry_description.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rhel_registry_description.yml b/.github/workflows/rhel_registry_description.yml index 8831451b2..4c4115eae 100644 --- a/.github/workflows/rhel_registry_description.yml +++ b/.github/workflows/rhel_registry_description.yml @@ -49,7 +49,7 @@ jobs: egress-policy: block allowed-endpoints: > catalog.redhat.com:443 - files.pythonhosted.org:443 + files.pythonhosted.org:443 github.com:443 pypi.org:443