Add workflow job to scan quay image.
This commit is contained in:
		
							
								
								
									
										30
									
								
								.github/workflows/manual-rhacs-pipeline.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/manual-rhacs-pipeline.yaml
									
									
									
									
										vendored
									
									
								
							@ -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"
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user