Skip to content

Commit

Permalink
Fix only JSON for matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
efrecon committed Feb 9, 2024
1 parent d20ba1d commit f11a502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
name: Prepare
id: platform
run: |
platform=${{ fromJSON(needs.convert.outputs.platforms) }}
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
-
name: Checkout
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ fromJSON(needs.convert.outputs.platforms) }}
platforms: ${{ inputs.platforms }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
file: ${{ inputs.file }}
Expand Down

0 comments on commit f11a502

Please sign in to comment.