Update test.yml

This commit is contained in:
Peter 2023-07-12 22:03:10 +02:00 committed by GitHub
parent 0dc90ac7fc
commit 98cebfcda9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ jobs:
- name: Create matrix
id: targets
run: |
docker buildx bake ${{ inputs.group }} -f ${{ inputs.file }} --print
TARGETS=$(docker buildx bake ${{ inputs.group }} -f ${{ inputs.file }} --print | jq -cr ".group.${{ inputs.group }}.targets")
docker buildx bake --print
TARGETS=$(docker buildx bake --print | jq -cr ".group.targets")
echo "matrix=$TARGETS" >> $GITHUB_OUTPUT
- name: Show matrix