File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ jobs:
240240 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
241241 run : |
242242 # Pull the VSCode automation image
243- IMAGE_NAME="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}"
243+ IMAGE_NAME="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}"
244244 docker pull "$IMAGE_NAME"
245245
246246 echo "🤖 Running automation test for scenario: ${{ matrix.scenario }}"
@@ -364,7 +364,7 @@ jobs:
364364 - name : Run Trivy vulnerability scanner
365365 uses : aquasecurity/trivy-action@master
366366 with :
367- image-ref : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
367+ image-ref : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
368368 format : ' sarif'
369369 output : ' trivy-results-vscode-automation.sarif'
370370
You can’t perform that action at this time.
0 commit comments