Skip to content

Commit 1742f1f

Browse files
author
kmova
committed
fix(build): set correct release tag in trivy checks
Signed-off-by: kmova <[email protected]>
1 parent 469cabf commit 1742f1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ jobs:
6161

6262
- name: Set Tag
6363
run: |
64-
echo "::set-env name=TAG::${GITHUB_REF#refs/*/v}"
65-
echo "::set-env name=RELEASE_TAG::${TAG}"
64+
TAG="${GITHUB_REF#refs/*/v}"
65+
echo "TAG=${TAG}" >> $GITHUB_ENV
66+
echo "RELEASE_TAG=${TAG}" >> $GITHUB_ENV
6667
6768
- name: Run Trivy vulnerability scanner
6869
uses: aquasecurity/trivy-action@master

0 commit comments

Comments
 (0)