Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated

This commit is contained in:
Arun
2023-12-28 13:21:55 -08:00
parent 33dac1ba40
commit 9f9c2f3245
+2 -2
View File
@@ -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: