Sequence the jobs correctly.
This commit is contained in:
3
.github/workflows/manual-rhacs-pipeline.yaml
vendored
3
.github/workflows/manual-rhacs-pipeline.yaml
vendored
@ -34,6 +34,7 @@ jobs:
|
|||||||
|
|
||||||
scan-image:
|
scan-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: build-and-push-image
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
@ -42,12 +43,14 @@ jobs:
|
|||||||
uses: stackrox/central-login@v1
|
uses: stackrox/central-login@v1
|
||||||
with:
|
with:
|
||||||
endpoint: ${{ env.CENTRAL_ENDPOINT }}
|
endpoint: ${{ env.CENTRAL_ENDPOINT }}
|
||||||
|
skip-tls-verify: true
|
||||||
|
|
||||||
- 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 }}
|
||||||
|
skip-tls-verify: true
|
||||||
|
|
||||||
- name: Scan image with roxctl
|
- name: Scan image with roxctl
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user