From cdab6b0db051d69173e1bd4aeb9bcc14c8d360aa Mon Sep 17 00:00:00 2001 From: Maciej Golaszewski Date: Tue, 19 Nov 2024 10:47:20 +0100 Subject: [PATCH] wip16 --- .github/workflows/trivy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 656032c..8ae52ad 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -88,13 +88,13 @@ 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(steps.read-tag.outputs.result) - - name: Get commit sha - run: | - echo "${{ fromJson(steps.read-tag.outputs.result.metadata.container.tags[0]) }}" + - uses: actions/github-script@v7 + with: + script: | + console.log(context.steps.read-tag.outputs.result) +# - name: Get commit sha +# run: | +# echo "${{ steps.read-tag.outputs.result.metadata.container.tags[0] }}" # - name: Checking out repo # uses: actions/checkout@v4