diff --git a/container-build-push-generic/action.yaml b/container-build-push-generic/action.yaml index 87b5a745..21441085 100644 --- a/container-build-push-generic/action.yaml +++ b/container-build-push-generic/action.yaml @@ -117,7 +117,7 @@ runs: labels: ${{ steps.meta.outputs.labels }} build-args: ${{ inputs.build-args }} secrets: ${{ inputs.build-secrets }} - load: ${{ github.event_name == 'pull_request' }} + load: ${{ github.event_name == 'pull_request' && !contains(inputs.image-platforms, ',') }} - name: Container signing if: ${{ github.event_name != 'pull_request' && inputs.cosign-key && inputs.cosign-key-password }}