From b1b071029db337e8b2701ee7216dbc0ee36724e7 Mon Sep 17 00:00:00 2001 From: Maciej Golaszewski Date: Tue, 19 Nov 2024 11:06:50 +0100 Subject: [PATCH] wip17 --- .github/workflows/trivy.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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