Switch from env to gha secrets.

This commit is contained in:
2024-08-28 10:12:19 +12:00
parent 1a3439e8d0
commit 237b8ecdf7

View File

@ -42,14 +42,14 @@ jobs:
- name: Rhacs login - name: Rhacs login
uses: stackrox/central-login@v1 uses: stackrox/central-login@v1
with: with:
endpoint: ${{ env.CENTRAL_ENDPOINT }} endpoint: ${{ secrets.CENTRAL_ENDPOINT }}
skip-tls-verify: true 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: ${{ secrets.CENTRAL_ENDPOINT }}
central-token: ${{ env.ROX_API_TOKEN }} central-token: ${{ secrets.ROX_API_TOKEN }}
skip-tls-verify: true skip-tls-verify: true
- name: Scan image with roxctl - name: Scan image with roxctl