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 7ced4df commit d127805
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/image-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,19 @@ jobs:
id: read
with:
matrix-step-name: base-image-digest
- name: join version arrays
id: join
run: |
versions=$(jq -s 'add' <<< '${{ fromJson(steps.read.outputs.result).versions.helm}} ${{ fromJson(steps.read.outputs.result).versions.kubectl}} ${{ fromJson(steps.read.outputs.result).versions.istioctl}} ${{ fromJson(steps.read.outputs.result).versions.lego}}')
echo "versions=${versions} >> $GITHUB_OUTPUT
outputs:
result: "${{ steps.read.outputs.result }}"
versions: "${{steps.join.outputs.versions}}"

command:
strategy:
matrix:
image: ${{ fromJson(needs.read.outputs.result).versions.helm }}
image: ${{ needs.read.outputs.versions }}
runs-on: ubuntu-latest
needs: [read]
steps:
Expand Down

0 comments on commit d127805

Please sign in to comment.