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

monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/master by this push:
     new 94a9014  fix(ci): docker image scanning (#509)
94a9014 is described below

commit 94a90140691efd570405c3650e5bcae710252945
Author: Abhishek Choudhary <[email protected]>
AuthorDate: Wed Sep 27 16:10:23 2023 +0545

    fix(ci): docker image scanning (#509)
---
 .github/workflows/apisix_dev_push_docker_hub.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/apisix_dev_push_docker_hub.yaml 
b/.github/workflows/apisix_dev_push_docker_hub.yaml
index 08a9c57..10f86f1 100644
--- a/.github/workflows/apisix_dev_push_docker_hub.yaml
+++ b/.github/workflows/apisix_dev_push_docker_hub.yaml
@@ -70,5 +70,6 @@ jobs:
       - name: Run Trivy vulnerability scanner
         uses: aquasecurity/trivy-action@master
         with:
-          image-ref: 'apache/apisix:${{ APISIX_DOCKER_TAG }}'
+          image-ref: 'apache/apisix:${{ env.APISIX_DOCKER_TAG }}'
           severity: 'CRITICAL,HIGH'
+          exit-code: 1

Reply via email to