From 9f9c2f3245b801b3d163a148ea02c52d431a55df Mon Sep 17 00:00:00 2001 From: Arun Date: Thu, 28 Dec 2023 13:21:55 -0800 Subject: [PATCH] Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated --- .github/workflows/cve-scan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cve-scan.yml b/.github/workflows/cve-scan.yml index 0a729078f..266e266b8 100644 --- a/.github/workflows/cve-scan.yml +++ b/.github/workflows/cve-scan.yml @@ -3,7 +3,7 @@ name: cve-scan on: push: branches: - - 'master' + - "master" permissions: contents: read @@ -19,7 +19,7 @@ jobs: run: | IMAGE=test/podinfo:${GITHUB_SHA} docker build -t ${IMAGE} . - echo "::set-output name=image::$IMAGE" + echo "image=$IMAGE" >> $GITHUB_OUTPUT - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: