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
 | 
					      - 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
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user