diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml index 19daf7b..02522e1 100644 --- a/.github/workflows/_build.yml +++ b/.github/workflows/_build.yml @@ -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 @@ -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 }}