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 5b196fc commit 8a38935
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/image-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,13 @@ jobs:
- name: join version arrays
id: join
run: |
echo "${{ toJson(fromJson(steps.read.outputs.result).versions.helm) }}" > ./versions.json
echo "${{ toJson(fromJson(steps.read.outputs.result).versions.kubectl) }}" >> ./versions.json
echo "${{ toJson(fromJson(steps.read.outputs.result).versions.istioctl) }}" >> ./versions.json
echo "${{ toJson(fromJson(steps.read.outputs.result).versions.lego) }}" >> ./versions.json
helm="$(echo ${{ toJson(fromJson(steps.read.outputs.result).versions.helm) }})"
kubectl=$(echo "${{ toJson(fromJson(steps.read.outputs.result).versions.kubectl) }})"
istioctl=$(echo "${{ toJson(fromJson(steps.read.outputs.result).versions.istioctl) }})"
lego=$(echo "${{ toJson(fromJson(steps.read.outputs.result).versions.lego) }})"
cat ./versions.json
jq --version
versions=$(jq -s 'add' ./versions.json)
versions=$(jq -s 'add' <<< \'${helm}\' \'${kubectl}\' \'${istoctl}\' \'${lego}\')
echo "versions=${versions}" >> $GITHUB_OUTPUT
outputs:
result: "${{ steps.read.outputs.result }}"
Expand Down

0 comments on commit 8a38935

Please sign in to comment.