diff --git a/.github/workflows/image-update.yaml b/.github/workflows/image-update.yaml index 9fc101e..af54acd 100644 --- a/.github/workflows/image-update.yaml +++ b/.github/workflows/image-update.yaml @@ -157,10 +157,11 @@ 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 + 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 + cat ./versions.json jq --version versions=$(jq -s 'add' ./versions.json)