diff --git a/.github/workflows/image-update.yaml b/.github/workflows/image-update.yaml index 98a598b..48cde93 100644 --- a/.github/workflows/image-update.yaml +++ b/.github/workflows/image-update.yaml @@ -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}}"