diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 4d53c0b..22391eb 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -88,13 +88,9 @@ jobs: let container_tag = packages[0].metadata.container.tags[0] return packages[0] # result-encoding: string - - uses: actions/github-script@v7 - with: - script: | - console.log(context) -# - name: Get commit sha -# run: | -# echo "${{ steps.read-tag.outputs.result.metadata.container.tags[0] }}" + - name: Get commit sha + run: | + echo "${{ fromJson(steps.read-tag.outputs.result) }}" # - name: Checking out repo # uses: actions/checkout@v4