Skip to content

Commit

Permalink
Add gha
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew DeVenny <[email protected]>
  • Loading branch information
matthewdevenny committed Oct 2, 2024
1 parent 5a96e67 commit 801d76b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/image-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,14 @@ jobs:
kubectl='${{ toJson(fromJson(steps.read.outputs.result).versions.kubectl) }}'
istioctl='${{ toJson(fromJson(steps.read.outputs.result).versions.istioctl) }}'
lego='${{ toJson(fromJson(steps.read.outputs.result).versions.lego) }}'
echo $helm > "./versions.json
echo $kubectl >> "./versions.json
echo $istioctl >> "./versions.json
echo $lego >> "./versions.json
jq --version
versions=$(jq -s 'add' <<< '${helm}' '${kubectl}' '${istoctl}' '${lego}')
echo $versions
#echo "versions=${versions}" >> $GITHUB_OUTPUT
versions=$(jq -c -s 'add' ./versions.json)
echo "versions=${versions}" >> $GITHUB_OUTPUT
outputs:
result: "${{ steps.read.outputs.result }}"
versions: "${{steps.join.outputs.versions}}"
Expand Down

0 comments on commit 801d76b

Please sign in to comment.