Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Aug 3, 2023
1 parent 28c92ff commit 10f2319
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
- id: set-matrix
run: |
content=`cat .github/flavors.json | jq 'map(select(.frameworkonly != "true"))'`
# the following lines are only required for multi line json
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
# end of optional handling for multi line json
echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT
OUT="matrix={\"include\": $content }"
echo $OUT
echo $OUT >> $GITHUB_OUTPUT
# The matrix for standard (provider) images
get-standard-matrix:
Expand Down Expand Up @@ -124,6 +122,15 @@ jobs:
docker push "$IMAGE:$TAG" # Otherwise .RepoDigests will be empty for some reason
cosign sign $(docker image inspect --format='{{index .RepoDigests 0}}' "$IMAGE:$TAG")
foo:
runs-on: ubuntu-latest
needs:
- get-core-matrix
steps:
- id: debug
run: |
echo "${{ needs.get-core-matrix.outputs.matrix }}"
build-core:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 10f2319

Please sign in to comment.