Skip to content

Commit

Permalink
Use GITHUB_OUTPUT envvar instead of set-output command as the latter …
Browse files Browse the repository at this point in the history
…is deprecated
  • Loading branch information
arunsathiya committed Dec 28, 2023
1 parent 33dac1b commit 9f9c2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cve-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cve-scan
on:
push:
branches:
- 'master'
- "master"

permissions:
contents: read
Expand All @@ -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:
Expand Down

0 comments on commit 9f9c2f3

Please sign in to comment.