Add workflow job to scan quay image.

This commit is contained in:
2024-08-28 09:55:15 +12:00
parent 8fd5f3f68f
commit b4500dec86

View File

@ -32,16 +32,22 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }} password: ${{ secrets.QUAY_PASSWORD }}
# scan-image: scan-image:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
# steps: - name: Rhacs login
# - name: Central login uses: stackrox/central-login@v1
# uses: stackrox/central-login@v1 with:
# with: endpoint: ${{ env.CENTRAL_ENDPOINT }}
# endpoint: ${{ env.CENTRAL_ENDPOINT }}
# - name: Install roxctl - name: Install roxctl
# uses: stackrox/roxctl-installer-action@v1 uses: stackrox/roxctl-installer-action@v1
# with: with:
# central-endpoint: ${{ env.CENTRAL_ENDPOINT }} central-endpoint: ${{ env.CENTRAL_ENDPOINT }}
# central-token: ${{ env.ROX_API_TOKEN }} central-token: ${{ env.ROX_API_TOKEN }}
- name: Scan image with roxctl
shell: bash
run: |
roxctl image scan --output=table --image="quay.io/rh_ee_jablair/ubi9:v0.0.1"