File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed 
security-actions/scan-docker-image Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Test Shared Actions 
2+ 
3+ on :
4+   pull_request :
5+     branches :
6+     - main 
7+   push :
8+     branches :
9+     - main 
10+ 
11+ jobs :
12+   test-scan-docker-image :
13+     name : Test Scan Docker Image 
14+     runs-on : ubuntu-22.04 
15+     steps :
16+     - uses : actions/checkout@v3 
17+ 
18+     - name : Login to DockerHub 
19+       if : success() 
20+       uses : docker/login-action@v2 
21+       with :
22+         username : ${{ secrets.GHA_DOCKERHUB_PULL_USER }} 
23+         password : ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUBLIC_TOKEN }} 
24+ 
25+     - uses : ./security-actions/scan-docker-image 
26+       with :
27+         image : kong/kong-gateway-dev:latest  #  no particular reason for the choice of image or tag, just an image for tests
Original file line number Diff line number Diff line change 7171
7272    #  Must upload artifact for output file parameter to have effect
7373    - name : Generate SPDX SBOM Using Syft 
74-       uses : anchore/sbom-action@v0.13.3  
74+       uses : anchore/sbom-action@v0.13.4  
7575      id : sbom_spdx 
7676      with :
7777        image : ${{ steps.meta.outputs.scan_image }} 
8787        dependency-snapshot : false 
8888
8989    - name : Generate CycloneDX SBOM Using Syft 
90-       uses : anchore/sbom-action@v0.13.3  
90+       uses : anchore/sbom-action@v0.13.4  
9191      id : sbom_cyclonedx 
9292      with :
9393        image : ${{ steps.meta.outputs.scan_image }} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments