You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2026/04/02 23:52:37 UTC

(trafficserver-ingress-controller) branch master updated: Update Trivy action to use scan-ref instead of image-ref (#348)

This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 2db94c3  Update Trivy action to use scan-ref instead of image-ref (#348)
2db94c3 is described below

commit 2db94c3000df445ef47c9f0970561fe19475ccce
Author: Kit Chan <ki...@apache.org>
AuthorDate: Thu Apr 2 16:52:32 2026 -0700

    Update Trivy action to use scan-ref instead of image-ref (#348)
    
    * Change image-ref to scan-ref in Trivy action
    
    * Update Trivy scanner to use scan-ref instead of image-ref
---
 .github/workflows/build.yml | 2 +-
 .github/workflows/trivy.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b1fc792..bed35e0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -133,7 +133,7 @@ jobs:
         if: github.repository == 'apache/trafficserver-ingress-controller'
         uses: lhotari/sandboxed-trivy-action@555963036b2012b44c1071508a236e569db28ebb
         with:
-          image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
+          scan-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
           format: 'sarif'
           output: 'trivy-results.sarif'
 
diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml
index fe7402f..11b7c17 100644
--- a/.github/workflows/trivy.yml
+++ b/.github/workflows/trivy.yml
@@ -37,7 +37,7 @@ jobs:
       - name: Run Trivy vulnerability scanner
         uses: lhotari/sandboxed-trivy-action@555963036b2012b44c1071508a236e569db28ebb
         with:
-          image-ref: 'ghcr.io/apache/ats-ingress:latest'
+          scan-ref: 'ghcr.io/apache/ats-ingress:latest'
           format: 'sarif'
           output: 'trivy-results.sarif'