Switch from env to gha secrets.
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/manual-rhacs-pipeline.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/manual-rhacs-pipeline.yaml
									
									
									
									
										vendored
									
									
								
							@ -42,14 +42,14 @@ jobs:
 | 
			
		||||
      - name: Rhacs login
 | 
			
		||||
        uses: stackrox/central-login@v1
 | 
			
		||||
        with:
 | 
			
		||||
          endpoint: ${{ env.CENTRAL_ENDPOINT }}
 | 
			
		||||
          endpoint: ${{ secrets.CENTRAL_ENDPOINT }}
 | 
			
		||||
          skip-tls-verify: true
 | 
			
		||||
 | 
			
		||||
      - name: Install roxctl
 | 
			
		||||
        uses: stackrox/roxctl-installer-action@v1
 | 
			
		||||
        with:
 | 
			
		||||
          central-endpoint: ${{ env.CENTRAL_ENDPOINT }}
 | 
			
		||||
          central-token: ${{ env.ROX_API_TOKEN }}
 | 
			
		||||
          central-endpoint: ${{ secrets.CENTRAL_ENDPOINT }}
 | 
			
		||||
          central-token: ${{ secrets.ROX_API_TOKEN }}
 | 
			
		||||
          skip-tls-verify: true
 | 
			
		||||
 | 
			
		||||
      - name: Scan image with roxctl
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user